6 ms·
Yep, W++ lambdas are statement-level on purpose My high school teacher once told me lambdas are “university-level,” so I made them the default function syntax
by sinisterMage 1y ago
Yep, W++ lambdas are statement-level on purpose
My high school teacher once told me lambdas are “university-level,” so I made them the default function syntax in W++.
It’s my way of saying: “nah, these aren’t scary — they belong in scripting too.”
That said, I totally agree that full anonymous functions would be useful (especially for more complex logic). Might explore adding those later, but I love the message the current model sends.