On Fri, 20 Mar 2015 22:11:51 +0000 weaselcat via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> On Friday, 20 March 2015 at 14:25:22 UTC, ref2401 wrote: > > Why aren't methods of class final by default? > > history > > use final class, it should devirtualize all methods. > see: https://github.com/D-Programming-Language/dmd/pull/4427 Yes, but you can not extend final class. Ok you can still use UFCS but it is not elegand solution.