3 ms·
I like and use ES6, but I am not a fan of the trend to use as little syntax as possible to be 'beautiful' or 'clean'. Am I the only one who is bothered by this
by aridiculous 11y ago
I like and use ES6, but I am not a fan of the trend to use as little syntax as possible to be 'beautiful' or 'clean'. Am I the only one who is bothered by this ultra reduction? To me, it ends up as either parentheses soup or unreadable clever code.
- russellbeattie 11y agoYep, I had just submitted a comment making basically the same observation. There's always the clarity vs. conciseness argument in every language evolution process, and compromises made due to compatibility issues, but ECMAScript veered too far towards line noise this round for sure.
- mrharrison 11y agoI agree. I think a language's determined beauty is by its readability, and the less complexity/clever code the more readable it becomes.
- duderific 11y agoI agree, when I look at the code in his examples, I have to work a lot harder to figure out what's going on. Maybe I'll get used to it, but as I mature in my programming style I strive to write code that others will not have to work hard to understand. OTOH We've been using some ES6/Babel at work, and I'm really digging the Promise/resolve/reject paradigm.