D Language Foundation January 2023 Quarterly Meeting Summary

bachmeier no at spam.net
Mon Feb 27 16:37:28 UTC 2023


On Monday, 27 February 2023 at 15:39:35 UTC, Dom Disc wrote:
> On Monday, 27 February 2023 at 14:27:25 UTC, bachmeier wrote:
>> On Monday, 27 February 2023 at 10:47:04 UTC, Mike Parker wrote:
>>
>>> Razvan [submitted a PR deprecating `alias this` in 
>>> classes](https://github.com/dlang/dmd/pull/14812) the next 
>>> day. Amaury [initiated a forum 
>>> discussion](https://forum.dlang.org/thread/roaaoujwgkzednetbndp@forum.dlang.org) a few days later.
>>
>> Is there a replacement?
>
> Yes. And there always was: In classes this was only an 
> additional way to do, what should better be done with 
> inheritance.

That is not my understanding from the linked thread. For 
instance, someone said it can be used as a substitute for 
multiple inheritance. It seems that anyone using it that way 
would be losing working code for no reason due to this 
deprecation.


More information about the Digitalmars-d-announce mailing list