3 ms·
I really like the ruby syntax. JavaScript now has the problem that it can't make code blocks expressions because it's ambiguous with object literal shorthand.
by nicoburns 5y ago
I really like the ruby syntax. JavaScript now has the problem that it can't make code blocks expressions because it's ambiguous with object literal shorthand.
- tln 5y agoJavaScript has labels, so objects have always been ambiguous with blocks
- BiteCode_dev 5y agoPython will never have block expression, given how limited lambda is already, so that's not a concern.