4 ms·
This is my mantra for JavaScript. So much of the post ES6 code I see seems more clever than clear.
by irrational 8y ago
This is my mantra for JavaScript. So much of the post ES6 code I see seems more clever than clear.
- diehunde 8y agoAlso happens a lot with scripting languages such as Ruby or Python. It's like people are looking for cool ways of writing less lines of code.
- commandlinefan 8y agoI have noticed that ES6+ is a lot more functional, so there’s a lot more map/reduce stuff in modern Javascript. Although it’s definitely more succinct than the equivalent for loop implementations, I often find myself having to copy and paste it somewhere else and run it in stages to see what it’s doing whereas with the for loop variation, I could just step through the actual code as is with a debugger to make sense of it.