3 ms·
I like pure JS over CoffeeScript (and other something-to-JS solutions) because: - Writing JS gives me a better feel for how the language actually works - I li
by amorphid 11y ago
I like pure JS over CoffeeScript (and other something-to-JS solutions) because:
- Writing JS gives me a better feel for how the language actually works
- I like the line number in the JS I'm debugging to equal the line in my source code
- There's less magic to understand & deal with
- CoffeeScript automatically returns the last line of a function, and I don't always like that
- klibertp 11y ago> - Writing JS gives me a better feel for how the language actually works Only because you know it better... > - I like the line number in the JS I'm debugging to equal the line in my source code Source maps. > - There's less magic to understand & deal with https://medium.com/@c2c/nodejs-a-quick-optimization-advice-7353b820c92e https://medium.com/@c2c/nodejs-a-quick-optimization-advice-7... > - CoffeeScript automatically returns the last line of a function, and I don't always like that Use explicit return then.