Exactly.
I personally think calling .map() on an array is more readable than an array comprehension. But since CS is "just JavaScript" you are free to use the native JS array methods (and even more elegantly, at that).
list comprehensions was exactly what i was talking about :) however i replace them with lodash and ramda, which benefit enormously from CS's lambda syntax
Re:Announcing CoffeeScript 2
by atom-morgan on Monday September 18, 2017 @02:15PM
(#15278173)
I wish this line of thinking was more common. So many people feel forced to use parts of a language when you don't have to.
CS breaks the ternary ?: operator which is a big headache for me.
Everything is an expression. Including if statements. There is no need of such syntax abominations.
Bingo. Remember when you first first learned the ternary operator syntax? I recall thinking something along the lines of, "Wow, that's cryptic!"
result = if condition then success else failure
some small aspects of CS i forgo because they (in my opinion) are a little too concise such that they sacrifice readability, but all in all it has my favorite syntax of any language.