3 ms·
For some reason, nesting closures like that seems very reminiscent of how you'd implement objects in Scheme. So I guess there's some truth to the rumour that J
by qwph 18y ago
For some reason, nesting closures like that seems very reminiscent of how you'd implement objects in Scheme.
So I guess there's some truth to the rumour that Javascript is basically Scheme with C syntax. Either that, or I've drunk too much coffee this morning...
- silentbicycle 18y agoYou can do exactly the same thing in Lua, too.
- LogicHoleFlaw 18y agoScheme with C syntax and the associative array (nee object literal) as the basic datatype. It's a powerful setup.