3 ms·
I think you just described ES6 compiled by Babel pretty well. Most people have gotten used to this disconnect.
by srgpqt 8y ago
I think you just described ES6 compiled by Babel pretty well. Most people have gotten used to this disconnect.
- klodolph 8y agoWell, with Babel you at least have source maps so you can get the original source locations in your backtraces.
- Willamin 8y agoThere's nothing stopping other compile-to-javascript languages from having source maps too
- klodolph 8y agoYes, it’s a pretty standard feature which is why it works so well. You can Typescript->ES->bundled ES->bundled minified ES and Chrome will point you directly at the original source in the debugger (once you give it permission).
- innocentoldguy 8y agoOne of the benefits I've seen while using Elm is that you virtually never need browser-based backtraces. The Elm compiler catches everything and has much better error messages, in my opinion.