Hacker News new | ask | show | jobs
by SkyPuncher 1014 days ago
Pretty much disagree on every front. Particularly for a major library.

There's a very good chance those "other people" have thought about the problem they're trying to solve way more than you have.

2 comments

We are discussing lodash here. It's a javascript library with utility functions.

The link we are discussing states they have just deleted 400 bugs declaring "bankruptcy".

If you, like many people using lodash are using 10 util functions from it to iterate arrays or split strings, I'm sure you're better off just maintaining your own functions.

And I say this as a user of prototype.js, another utility library, 18 years old, in a very old project. That lib is dead and unmaintained, and it's going to cost me a long time to remove. So now I've inherited all their bugs and code, and it's mine, just like if you use the old lodash, the "bankruptcy" bugs are now yours.

You don’t think this learned helplessness is depressing?

Whether or not a team decides to own some portion of code is a complex topic. Sometimes it makes sense to leverage something external, and sometimes it makes sense to write it yourself.

In my business, we had a [ostensibly senior] guy insist we use an external technology because it would be too hard for us to own that piece ourselves, despite it being a core part of the product. Technical due diligence on the external technology showed that it didn’t actually work as advertised. Six figure price tag and apparently millions invested for a thing that doesn’t work (and “doesn’t work” in this case meant “corrupted financial data”).

Whether or not a team owns some technology is highly context dependent, and your comment comes across as reductive.