DIP66 - Multiple alias this

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 31 11:49:25 PDT 2014


On Tuesday, 28 October 2014 at 22:58:53 UTC, Ola Fosheim Grøstad 
wrote:
> You should rethink implementing multiple alias this. D is 
> increasingly becoming a poorly typed language.
>
> "alias this" is basically static prototype-based programming.
>
> http://en.wikipedia.org/wiki/Prototype-based_programming
>
> Self had multiple inheritance based on prototypes and removed 
> it because it was not much used and lead to problems when 
> figuring out which methods were called.

No.

D is as poorly typed as one wants is to be and multiple alias 
this is a necessary tool to achieve strong static typing without 
sacrificing expressiveness.


More information about the Digitalmars-d mailing list