Feels like a lot of “not inventing the wheel” - which is good? There are plenty of good wheels out there.
The problem is “I need function, library with 1000 functions has function, include.” Library’s 823rd function turns out to have a vulnerability.
“Yes, I’d like a wheel. I don’t want to invent it. Why, of course, give me the full package of wheel, axis, rotor, engine, fuel tank, windshield, mirrors, tire, front panel, brakes. This wheel will be great for me manually spinning cotton!”
And this is why tree shaking exists.
What is that?
If you import 1% of your module code, you only compile the actual used code. Tree shaking is removing dead code paths that aren’t used.
Very true.
Python feels like that sometimes too. Except much more standard library which is much better than node modules.



