3 ms·
Personally I don't think closures need any additional syntax, just reuse function definition syntax and implicitly capture its context based on variable usage.
by duped 3y ago
Personally I don't think closures need any additional syntax, just reuse function definition syntax and implicitly capture its context based on variable usage.
I also hate the name "lambda" because it feels intentionally confusing and special. It's just a function that captures some context.