4 ms·
> Micro-libraries should never be used. They should either be copy-pasted into your codebase, or not used at all. I would prefer them to be built straight in t
by qwerty456127 2y ago
> Micro-libraries should never be used. They should either be copy-pasted into your codebase, or not used at all.
I would prefer them to be built straight in the languages.
- jdminhbg 2y agoYes, everyone seems to take the wrong lesson from left-pad. The reason left-pad happened on NPM isn't that there's something uniquely wrong with how NPM was built, but that JS has a uniquely barren standard library. People aren't writing their own left-pad functions in Java or Go or Python, it's just in the stdlib.
- _xiaz 2y agoAt the same time Go is quite barren when it comes to list (slice) functions, but I largely agree with Java and Python