Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: When do you use a library vs. implement something yourself?.
1. It would take a significant time (> a few days) to write yourself.
2. The library is widely used.
3. The library has a history of supporting major versions, you don't want breaking changes to come with security and minor fixes.
4. The library is open source. Not always a complete deal breaker, but you need to think of long term costs.
5. You're going to use a significant chunk of the library, don't import a big complicated library for a single function.
There are no comments on this comment yet.
1. It would take a significant time (> a few days) to write yourself.
2. The library is widely used.
3. The library has a history of supporting major versions, you don't want breaking changes to come with security and minor fixes.
4. The library is open source. Not always a complete deal breaker, but you need to think of long term costs.
5. You're going to use a significant chunk of the library, don't import a big complicated library for a single function.