Why is D unpopular?

forkit forkit at gmail.com
Sun Jun 12 22:05:25 UTC 2022


On Sunday, 12 June 2022 at 11:11:32 UTC, Sergey wrote:
> On Sunday, 12 June 2022 at 01:03:06 UTC, forkit wrote:
>> My argument could not be simpler:
>>
>> Compiler. please enforce the invariants of my class at compile 
>> time, if that's what I ask you to do (with, for example, 
>> 'scope private int x';
>>
>> It's a really, really, really, really, simple proposition.
>
> Why not prepare well written DIP with examples from other 
> languages and to ask some experienced core developer to have a 
> look at it?

Cause the decision to reject it, has already been made ;-)

If I want a compiler that can enforce invariants of a class from 
code surrounding it, I'll have to look elsewhere.

Which is probably what I'll end up doing. (e.g. Swift).


More information about the Digitalmars-d mailing list