Hacker News new | past | comments | ask | show | jobs | submit login

Exactly why we moved to CoffeeScript, without it you need to rigorously enforce coding conventions. This entails watching for missing vars, using jslint, having a script that searches for accidentally declared globals, only declaring vars at the top of a function, among other best practices. With CS you get all of that just by using it. If you can write high-standard code using a simpler, terser syntax, why avoid it?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: