Comment

Comment by sina

I agree that Lodash would be a better choice because it seems like a well maintained project. There could be two counter args, in theory:

- if the programmer uses other functions included in Lodash his code will have a single larger point of failure. For example, if Lodash is unpublished (intentionally as in this case, or unintentionally) then the programmer will have a lot more work to redo.

- Lodash introduces a lot of code, while the programmer only needs one of its functions to pad a string.

parent sina 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton