named arguments (C++) - Something D could learn from

Atila Neves atila.neves at gmail.com
Tue Dec 18 10:46:52 UTC 2018


On Monday, 17 December 2018 at 19:24:06 UTC, Ethan wrote:
> On Sunday, 16 December 2018 at 22:16:28 UTC, Matthew OConnor 
> wrote:
>> I am a C++ developer by day and reading that article made me 
>> cringe. C++ has this creeping, expansive, everything ends up 
>> in the language or writable in it, if you accept awful 
>> messages and contorting the syntax. I hope D doesn't go down 
>> that route.
>
> Sweet zombie Jesus I just read the article and wow I can't 
> believe that was written _this week_. Named arguments by 
> defining non-thread-safe statics? People write this tripe in 
> 2018? And get _good comments_ on it?
>
> Something has gone very wrong in compsci education.

At least the static variables are const...


More information about the Digitalmars-d mailing list