3 ms·
So we can add C# and Lua to the list of languages that have good lambda support. I forgot lua before. Lua is pretty much javascript except without all the scre
by qwertyuiop924 10y ago
So we can add C# and Lua to the list of languages that have good lambda support.
I forgot lua before. Lua is pretty much javascript except without all the screwups and with 1-indexed arrays.
>It is, but semantics is supposed to correlate with syntax in a sane way. In JS, it does not - you can place "var" inside a block, but it's not actually scoped to that block. If they required all vars to be declared at the beginning of the function, it would have made more sense. And I'm not aware of any other language that made the same blunder, except for old (pre-.NET) Visual Basic.
Ah. Yeah. Well, that's why let exists now.
>return
>42
All right, I'll give you that.