3 ms·
I think this has the same disadvantage with coffeescript. The web is full with javascript and there isn't an easy way to swap between the languages. Also it's a
by g3orge 15y ago
I think this has the same disadvantage with coffeescript.
The web is full with javascript and there isn't an easy way to swap between the languages. Also it's a pain to debug.
- embwbam 15y agoPersonally, I'd much prefer to have my compiled JavaScript have the same line numbers as the source. I think readability of the compiled js is great and all, but correct line numbers would be awesome OTOH, string typing will greatly reduce your errors.
- mhd 15y agoLet's hope that Mozilla's SourceMap[1] gets finished then. Should alleviate most of the debugging problems. [1]: https://wiki.mozilla.org/DevTools/Features/SourceMap https://wiki.mozilla.org/DevTools/Features/SourceMap
- bergie 15y agojs2coffee helps there. I've gotten into the habit of converting old JS code with it as a first step of refactoring when I need to take over some old codebase.