4 ms·
It makes more sense for CoffeeScript to exists as an independent language, rather than as a JavaScript generator. The syntax is beautiful, it had potential; wh
by blrblr 14y ago
It makes more sense for CoffeeScript to exists as an independent language, rather than as a JavaScript generator.
The syntax is beautiful, it had potential; why be a difficult-to-debug JavaScript 'compiler' instead?
- daveid 14y agoSorry, but wouldn't that defy the purpose? You can only use JavaScript client-side, and I assume it would take a lot of time, effort, and "why" to make browsers ship parsers for other languages.
- boothead 14y agoI'd hardly characterise coffeescript generated js as difficult to debug (even the OO flavoured bits). My experience and that of most others I've seen online is that the mapping from the js that you debug back to the coffeescript that generated is trivially done in your head.
- MrUnknown 14y agoAs someone who barely knows any JavaScript, but want to learn CoffeeScript (I know ruby, and they are similar), even I can do this.
- rimantas 14y agoI'd say this "difficult-to-debug" attitude comes from those who did not actually tried to work with CoffeeScript and just think that would be the case. We have a lot of code in it already and debugging was never an issue.
- base698 14y ago+1 here too.