3 ms·
I think it's fair to say that, "Javascript's packaging is as bad as in C". While ES6 modules make minor improvements in syntax, the entire npm ecosystem relies
by 7777fps 7y ago
I think it's fair to say that, "Javascript's packaging is as bad as in C".
While ES6 modules make minor improvements in syntax, the entire npm ecosystem relies on commonjs resolutions which aren't that far under the hood to including header files wholesale.
Then you have the build system which you have to know your way around babel, webpack, and a whole suite of arcane tools each of which with very fragile equivalents to make files with similar nonsense errors when builds fail.
Javascript isn't C, but the ecosystem is a nightmare compared to modern languages with modern language features such as first class package management.