News for hackers. Stuff that matters.
Re:NPM package 'isarray' is downloaded 40M times a week by Benjammer on Sunday November 08, 2020 @10:38AM (#25026395)
This argument makes a ton of sense to me. Why is this not how most people explain it, rather than "all developers are stupid and they mess up one-liners so we should write their software for them"?

How it normally goes:

A: why does this exist it's one line?

B: people mess up one-liners all the time.

A: those people are dumb and shouldn't be programmers

How it should go:

A: why does this exist, it's one line?

B: it's not about that, it's used to easily/quickly compose with other similar functions into more complicated things like polyfill, backport, and backcompat bundles for deployment in environments that are quite a bit behind in terms of language support.

A: oh, neat, thanks!

There are no comments on this comment yet.