Hacker News new | ask | show | jobs
by caspervonb 2979 days ago
> Yes, so let's all keep reinventing the wheel, over and over again.

Writing basic code, like operator calls is not reinventing the wheel.

> `isOdd(2)` is a lot easier to understand than `value % 2`

It's not tho, an operator is fundamental and everyone knows what it does. The function on the other hand you have no clue and have to check the source to see what it does.

> On top of that, mentioning left-pad is really cliche and weak at this point (bear in mind this happend 2 years ago), npm has taken measures and nothing similar has happend since then, and even then, it was still a fairly isolated event - the whole thing actually took 10 minutes.

Mentioning left-pad because the culture has not changed since then, this is a culture problem and not a technical one IMHO.