D isn't the only language with janky closure semantics

monkyyy crazymonkyyy at gmail.com
Sat Aug 30 21:45:33 UTC 2025


On Saturday, 30 August 2025 at 21:10:59 UTC, H. S. Teoh wrote:
>> Is it not a #wontfix?
>
> Whether or not it's a #wontfix, I'm gonna keep complaining 
> until it gets fixed. ;-)
>
> The current behaviour is pretty much completely useless 100% of 
> the time, so in keeping with D's philosophy of catering to the 
> most common use cases, this should be fixed.  It doesn't make 
> sense that we have to work around this every single time, when 
> it doesn't even serve a single useful use case.
>
>
> T

Agreed, but Ive read the old bug reports to verify as of 2022 
walter thought "allocating bad >:(" given that I believe that any 
useful behavior is allocating the arguments as tuples this is on 
my list of explicit #wontfixes

https://forum.dlang.org/post/kjloocunlqusemsilyhy@forum.dlang.org

Where radical thought, if its never changing at least people 
should get warnings


More information about the Digitalmars-d mailing list