4 ms·
Yeah, technically better, at the cost of huge complexity. CommonJS was easy to implement anywhere and dead simple. We only need static analyzers and tree-shaki
by jiofih 6y ago
Yeah, technically better, at the cost of huge complexity.
CommonJS was easy to implement anywhere and dead simple. We only need static analyzers and tree-shaking optimizations because the JS ecosystem went wild on dependencies. I honestly think we were better off 10 years ago.
> NodeJS never attempted to be compatible with the Web
It goes the other way around? Node caved in and support modules now, what has been done in tc-39 for web modules to be compatible with node (considering it predates all of it)?
There is no “JS community vs Node community” btw.