Hacker News new | ask | show | jobs
by donatj 1203 days ago
I wrote this 10 years ago, it's made the rounds. I stand by it even if it's a little long in the tooth. I would word it a little differently these days, but it stands on it's own.

I like to think I helped lead people away from CoffeeScript.

https://donatstudios.com/CoffeeScript-Madness

1 comments

Good news! Civet fixes several of the more contentious design decisions from CoffeeScript by trying to be more in line with ES semantics. You need to declare variables by default in Civet. You can opt in to CoffeeScript's automatic var if you need to migrate from a CoffeeScript codebase by using the "civet autoVar" directive.

More info: https://civet.dev/cheatsheet#variable-declaration