3 ms·
This is why people should use commonly-available packages instead of rolling their own version of whatever dumb algorithm they think they can write. This happen
by thitcanh 6y ago
This is why people should use commonly-available packages instead of rolling their own version of whatever dumb algorithm they think they can write. This happens all the time. Bugs have been fixed by others, but everyone is too smart to use someone else’s code.
- xyst 6y agoseems more like a bad copy and paste situation to me. it's sort of what you get when you pay for the lowest bid for contractors.
- mixologic 6y agoSometimes those commonly used packages end up being whatever dumb algorithm the author came up with, and nobody spends the time to verify if the package is worth it's popularity.
- thitcanh 6y agoDoubt that. Popularity comes with heaps of PRs, some useful some less. If anyone used a JSON parser that took 4 minutes to parse a file you bet the author would know by the time the 100th user comes around. I had a tiny barely-used detection library that didn’t detect it correctly in a new Edge browser update. Someone complained about it within the first month. The library has 20 stars and Edge has 500 users. Edit: Correction, it was 9 days after the browser release.