Hacker News new | ask | show | jobs
by hharnisch 3896 days ago
Migrating away from CoffeeScript too. I'll be happy to have the ternary operator back. The existential operator was handy but became a source of land mines as the project grew. Will miss list comprehensions though.
1 comments

Seriously? 'You' ? 'like' : 'this'; if 'better' then 'than' else 'this?'
Ternary operator is more compact and consistent with many other programming languages.

The bigger issue was the bugs the existential operator led to. Not worth it when checking for existence wasn't a problem in javascript anyways.

What sort of issues were you having with the existential operator? I've honestly never had a problem with that, and I often wish I had it in other programming languages.