3 ms·
It's also that you lose any ability to step-debug at the moment. You still need to know Javascript to debug Coffeescript by and large. That mental context-swit
by XorNot 13y ago
It's also that you lose any ability to step-debug at the moment. You still need to know Javascript to debug Coffeescript by and large.
That mental context-switch overhead is the whole driving philosophy behind NodeJS in the first place - don't switch languages so often. CS/JS is enough of a change that the overhead is not insignificant.
- winslow 13y agoThis is no longer true. You can debug CoffeeScript in web browsers now with source maps. Yes you may need to dig into JS for a more severe bug but most of the stuff is debug-able in source maps.
- lowboy 13y agoEh, I don't find switching back and forth to be that problematic in terms of context switching. That's because CS is very similar to JS in everything but syntax. Which is also why a solid JS background is almost essential when writing CS.