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.
js2coffee 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.
Personally, 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.
Comments
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.
Let'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
js2coffee 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.
Personally, 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.