DEV Community

Discussion on: Safari is the New Internet Explorer

Collapse
 
skyjur profile image
Ski • Edited

Browsers should had stopped any new ES support since ES3. Supporting new ES language features such as ES modules in browsers is just wrong direction. Transpilers allow to develop language separately from browser and developers can build for web in other languages than ES altogether like Scala, Elm, dart and typescript could get whole lot better if it stopped having to support ES. Adding new ES support in browser not only adds more complexity in browser engine it self but also further increase complexity of transpilers because now transpilers will need to support new targets to transpile to thus just wasting efforts of many people involved. JS that runs in browser should now be treated as standard assembly language of web and only get functional upgrades like new APIs to support new functionality instead of syntactical sugars that adds complexity without adding functionality. Transpilers handle the rest. Meanwhile webasm needs to be pushed forwards as eventual replacement for rotten use of javascript as assembly language.