Re:Announcing CoffeeScript 2
by sgustard on Monday September 18, 2017 @07:27PM
(#15280588)
CS breaks the ternary ?: operator which is a big headache for me.
[ Parent
| on HN ]
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