Why is D unpopular?

bauss jj_1337 at live.dk
Fri Apr 29 07:56:15 UTC 2022


On Thursday, 28 April 2022 at 13:50:19 UTC, Ola Fosheim Grøstad 
wrote:
> On Thursday, 28 April 2022 at 12:33:48 UTC, SealabJaster wrote:
>> Regrettably this community doesn't see much value in syntax 
>> sugar, and are fine with more bulky library solutions instead.
>
> It is possible to have syntactical sugar for library solutions 
> if you have clearly defined protocols. Like D and C++ do with 
> for-loops over containers.
>
> It is in many ways the best approach, but the question is how 
> to define the right protocol mechanism.

I think his point was that D seems to favor library-only 
solutions in a lot of cases and then the syntactic sugar is never 
added properly.

No matter how good your library solutions are then you can never 
implement async/await in a clear fashion without the compiler 
emitting you a state machine for it.


More information about the Digitalmars-d mailing list