5 ms·
>If people didn’t like JavaScript for front end work, it’s not like they could just switch to python Sure you could. You can develop for the web in practically
by aphextron 5y ago
>If people didn’t like JavaScript for front end work, it’s not like they could just switch to python
Sure you could. You can develop for the web in practically any language you like these days. People use JavaScript because it has native support for the DOM that nothing else can match. Until we get away from the DOM for application development, it will always be king.
- roofwellhams 5y agoTry to debug that nightmare. Usually you'll need to debug compiled code.
- gentleman11 5y agoDo sourcemaps not help? I’m not experienced with python to js, but they help with minified js
- roofwellhams 5y agoCan, but they won't match and you can't break point exactly the same as in just js or ts
- magila 5y agoThat has nothing to do with Javascript's merits as a language though. It's simply the only language browsers expose the DOM to natively.
- aphextron 5y ago>That has nothing to do with Javascript's merits as a language though. Sure it does. DOM support is built into the very core of JS as a language, and that has shaped the entire history of its' development and subsequent API choices. It's not just a library that it happens to support, the way it would be with any other language.