Re:TC39, ECMAScript, and the Future of JavaScript
by mmargerum on Friday June 30, 2017 @10:38AM
(#14671009)
It's just sugar but it's less code and I find it easy to read at least in go.
Re:TC39, ECMAScript, and the Future of JavaScript
by abritinthebay on Thursday July 06, 2017 @03:51PM
(#14713334)
It’s not really less code though. It’s about the same but with an syntax that obfuscates where the logic happens.
Terse at the usage point yes, but it swaps clarity for brevity. A sometimes useful trade off to be sure but... not sure I’ve seen any demonstration of benefits here.
Like, I get they can be used for stuff but why are they a better option?
So far - based on the responses here - it appears to be syntax for syntax sake and no practical benefit.