3 ms·
Writing CoffeeScript is a far nicer experience than writing JavaScript, but I choose to write JavaScript. There are two reasons: 1. First, a minor point: When
by mrspeaker 15y ago
Writing CoffeeScript is a far nicer experience than writing JavaScript, but I choose to write JavaScript. There are two reasons:
1. First, a minor point: When I find JavaScript experiments I did in 2001, they still work out-of-the-box and I can immediately start editing them (and fixing my horrible style). I'm always impressed by this. With coffeescript, you need the correct version of the compiler to be saved with your project.
2. More importantly, I think CoffeeScript is a temporary solution. CoffeeScript fixes the problems with JavaScript. But JavaScript is also working to fix the problems with JavaScript. I know it's going to be a good while before JS.next is usable for the masses - but I'm sure that before that time there will be a good CoffeeScript-like transpiler that takes care of the old browsers.