▲ | grishka 4 days ago | |||||||
Then the question becomes, why do developers of larger libraries import someone else's module for every little trivial thing? | ||||||||
▲ | SAI_Peregrinus 4 days ago | parent | next [-] | |||||||
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. | ||||||||
▲ | rglover 4 days ago | parent | prev [-] | |||||||
Because they don't have the slightest clue what they're doing. | ||||||||
|