Re:Modern Javascript: Everything you missed over the last 10...
by HideousKojima on Saturday May 15, 2021 @01:22PM
(#27167082)
Because debugging your transpiled JavaScript becomes a nightmare in a language you already hate
Re:Modern Javascript: Everything you missed over the last 10...
by dragonwriter on Saturday May 15, 2021 @01:40PM
(#27167254)
> Because debugging your transpiled JavaScript becomes a nightmare in a language you already hate
That’s what sourcemaps are for; you don’t have to debug compiled instead of source format on the web just like you don't on other platforms.
Even native languages like C/C++/Rust compile their language into binary format that the platform can run. It just so happens that the web runtime format is JS instead of binary machine instructions.