> Isn't leftpad the natural conclusion of DRY? Everything is a unique, small, contained and tested library that other code can depend on instead of reimplementing it?
There is nothing in dry that says "util" or "frameworks" or "toolchains" are bad.
> The ultimate one source of truth, where if it breaks half the internet breaks.
Dry says nothing about versioning, or vendoring or deleting your code from the internet...
The reality is that leftpad wasnt used by that many things. Its just that the things that did use it were all over the dependency graph...
There is nothing in dry that says "util" or "frameworks" or "toolchains" are bad.
> The ultimate one source of truth, where if it breaks half the internet breaks.
Dry says nothing about versioning, or vendoring or deleting your code from the internet...
The reality is that leftpad wasnt used by that many things. Its just that the things that did use it were all over the dependency graph...