3 ms·
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
by Leherenn 2y ago
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? The ultimate one source of truth, where if it breaks half the internet breaks.
- zer00eyz 2y ago> 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...