Worst ideas/features in programming languages?

bauss jj_1337 at live.dk
Tue Oct 12 06:14:40 UTC 2021


On Tuesday, 12 October 2021 at 03:17:08 UTC, SealabJaster wrote:
>
> `abc => { return 123; }` should not be returning a function 
> that returns a function.
>

I agree with this so much, like why couldn't it have been made so 
you had to be explicit if you wanted to return a function? Like:

`abc => &{ return 123; }`


More information about the Digitalmars-d mailing list