4 comments

[ 2.7 ms ] story [ 23.0 ms ] thread
I'd imagine people that learned to code at a crappy bootcamp where they were told to just find npm packages for whatever they're trying to do because they're better/safer/faster.
HN uses this once per year on Cristmas, colouring numbers of the posts with red&green.
No it doesn't. HN uses Arc Lisp, and no Javascript at all other than a single library which IIRC from Dang's comments is also generated from Arc Lisp.
They're used because of the nonsense that was JS' beginning, in that you couldn't use integers safely past 2^53 - 1 due to floating point limitations.

Limitations that were because of JS chose to only support one primitive data type for numbers, and that was only recently resolved with the introduction of BigInt & BigInt literals. In 2018.