by fmx · 2y ago · 0 comments
I once ran a simple grep in some of my node projects - most of them had a jonschlinkert package in node_modules, certainly not through any (direct) choice of my own.
What is a bit worrying though is that he is an active member and contributor to TC-39. Meaning that this kind of community hostility is very much alive among the people who rule JavaScript.
> It exists.
Thinking of being the change I want to see in the world.
...
if (!Number.isSafeInteger(n)) {
throw new Error('value exceeds maximum safe integer');
}
...Basically it helps dealing with all the typing problems of Javascript, and also fitting into functional programming paradigms.
Something as simple as this can end up being neither even or odd.
(0.1 + 0.2) * 10I mean we're talking FizzBuzz secret sauce here. This must be total black magic for a catastrophic percentage of programmers