← Back to context

Comment by grishka

3 months ago

Then the question becomes, why do developers of larger libraries import someone else's module for every little trivial thing?

Because they don't have the slightest clue what they're doing.

  • It's not that either.

    There are a handful of important packages that are controlled by people who have consulting / commercial interests in OSS activity. These people have an incentive to inflate download numbers.

    There could be a collective push to move off these deps, but it takes effort and nobody has a strong incentive to be the first

Sometimes it's not someone else's module, it's their own. They break up the big library into reusable components, and publish them all separately. Essentially taking DRY to an extreme: don't have private functions, make all your implementation details part of the public API & reuse them across projects.