New concept Mixin Methods

Timon Gehr timon.gehr at gmx.ch
Sun Dec 25 15:29:40 UTC 2022


On 12/25/22 16:26, Paul Backus wrote:
> 
> This proposal fails on both counts: the problem it solves can already be 
> solved by using a mixin template in the subclasses,

Don't try this at home. (It does not actually work.)

> so all it really 
> does is save a bit of typing; and it only saves that little bit of 
> typing in this one, very specific scenario.

I don't think it's about saving the typing, it's about not allowing bugs 
to appear because people _forgot_ to type.


More information about the Digitalmars-d mailing list