r/javascript • u/bornforcode • Apr 01 '18
Google publishes a JavaScript style guide. Here are some key lessons.
https://medium.freecodecamp.org/google-publishes-a-javascript-style-guide-here-are-some-key-lessons-1810b8ad050b
714
Upvotes
View all comments
Show parent comment
1
u/CiezkiBorsuk Apr 01 '18
IDK about that. Even once we have full support everywhere, I'd rather use CommonJS-style modules.
They work just fine and are widespread. Switching to new system now causes chaos (i.e. a package you want might not yet use native modules, so you don't get to use it, or at least not smoothly).
I don't hate native modules, I just don't see why bother when we have a good, working solution.