2 ms·
I would imagine that's pretty common, especially for small helper functions for a very specific task. There might really only be one real logical way of doing i
by nkrisc 7y ago
I would imagine that's pretty common, especially for small helper functions for a very specific task. There might really only be one real logical way of doing it. How many different ways could you really implement leftpad?
- dsego 7y agoApparently whatever ended up in npm was shockingly horrible. [The Error of Our Ways • Kevlin Henney] https://youtu.be/IiGXq3yY70o?t=1368 https://youtu.be/IiGXq3yY70o?t=1368 [slides, page 32] https://gotocon.com/dl/goto-berlin-2016/slides/KevlinHenney_TheErrorOfOurWays.pdf https://gotocon.com/dl/goto-berlin-2016/slides/KevlinHenney_...