|
|
|
|
|
by amorphid
3901 days 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 |
|
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-7...
> - CoffeeScript automatically returns the last line of a function, and I don't always like that
Use explicit return then.