Discussion Thread: DIP 1042--ProtoObject--Community Review Round 1

ryuukk_ ryuukk.dev at gmail.com
Mon Apr 4 09:39:34 UTC 2022


On Monday, 17 January 2022 at 15:01:51 UTC, Mark wrote:
> On Monday, 10 January 2022 at 13:48:14 UTC, Mike Parker wrote:
>> ## Discussion Thread
>>
>> This is the discussion thread for the first round of Community 
>> Review of DIP 1042, "ProtoObject":
>>
>> [...]
>
> Given the amount of debate that this DIP has provoked, I wonder 
> if it was worthwhile to have a universal base class in D in the 
> first place.

Given the metaprogramming capabilities of D, I'm surprised it is 
still needed today.

There is lot to learn from Go, and its struct based composition 
model, runtime reflection and a GC without needing a base class! 
Moving forward, I think that is a model to take inspiration from.


More information about the Digitalmars-d mailing list