2 ms·
> Which is, to be fair, exactly the reason you'd use a library like this. There is a crucial nuance here: Which is, to be fair, exactly the reason you'd use a
by berkes 6y ago
> Which is, to be fair, exactly the reason you'd use a library like this.
There is a crucial nuance here:
Which is, to be fair, exactly the reason you'd use a library.
With which I mean to emphasize that -indeed- libraries are crucial. But nano-libraries, like nano-services are an antipattern.
This could be a stdlib (ideally), a bundle (like Lodash) or even a numberUtils. Having a gazillion packages that have a rediculous biolerplate-to-code ratio, contain just one (well evolved!) function and so on, is doing more harm than good.
A library "like this" is harmful. If only because it gives people an argument, or just the idea that libraries are stupid and should be avoided.