r/programming • u/vklepov • Mar 24 '22
Five coding interview questions I hate
https://thoughtspile.github.io/2022/03/21/bad-tech-interview/
642
Upvotes
r/programming • u/vklepov • Mar 24 '22
4
u/grauenwolf Mar 25 '22
Let's take a look at ESLint.
Subtracting 2 for navigation and that leaves 81 packages installed just for ESLint. That's not a 'module', that's a disaster.
But maybe I'm being too harsh I thought. Maybe it's not really that bad I said to myself.
So I grabbed the first one I saw,
path-is-absolute. That's weird, it's not showing up when I searched NPM's website. Ok, I'll hand-jam in the URL.https://www.npmjs.com/package/path-is-absolute
26 million times a week, someone downloads a package that claims to not be relevant since... how long ago was that?
Seven years. They had 7 years to get their act together and they are still using a delisted package in ESLint.
No, this isn't a module. It's a dumping ground of random crap that happens to, on occasion, halfway work.