News for hackers. Stuff that matters.
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.
Re:Announcing CoffeeScript 2 by igl on Tuesday September 19, 2017 @05:07AM (#15282922)
Everything is an expression. Including if statements. There is no need of such syntax abominations.
Re:Announcing CoffeeScript 2 by jashkenas on Tuesday September 19, 2017 @10:20AM (#15284813)
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
Re:Announcing CoffeeScript 2 by sgustard on Thursday September 21, 2017 @11:35AM (#15304495)
Sure, but other coffee operations like x||=5 are also abominations. Brevity and purity are often at odds and the choices made by a language can be arbitrary.