3 ms·
The problem in Javascript is localized. Lots of extremely important foundational packages like React, Vue, Typescript, and even ones like Prettier don't really
by ratww 5y ago
The problem in Javascript is localized. Lots of extremely important foundational packages like React, Vue, Typescript, and even ones like Prettier don't really have lots of dependencies.
The biggest culprits of the craziness are things like Babel and Webpack, which require tens or sometimes hundreds of packages for a basic install. Some of those aren't really needed in Python, for example. But in JS there are alternatives to them.
On the other hand, some foundational packages in languages like Python and Ruby have a lot of dependencies. I don't know about Python much, but Rails also has a large dependency graph, despite Ruby having a good standard library.