Anyone who has been using
I just tried out node 12 in a large JS backend codebase that’s currently running on babel and it was not a good experience.
- node 12 imports don’t work in the REPL
importis less compatible with
requirein node 12 compared to babel, and it’s harder to make them work together.
My fault, right? Shouldn’t use babel on the backend, shouldn’t use import over require, but it’s difficult to set best practices around this stuff in a language as novelty-hungry and fragmented as JS.
What babel means for standards
Who knows if this was intentional but babel has the connotation of fragmenting a language to reduce production efficiency and for my team it totally delivered.
If tools like babel are here to stay, standards bodies need to decide how they’ll deal with toolmakers who release an early or wrong version of the standard. It’s the nature of programming languages to be fragmented, and the more the adoption the more the fragmentation, but transpilation is such a lightweight form of customization vs forking that the pace is out of control.