3 ms·
I often see the opposite: people wasting hours writing code when they could have found the appropriate library with a few minutes of searching. Often the librar
by rhizome31 7y ago
I often see the opposite: people wasting hours writing code when they could have found the appropriate library with a few minutes of searching. Often the library is actually already installed with the project or even part of the standard library.
- deleted 7y ago[deleted]
- quietbritishjim 7y agoThe most difficult case is when writing the code from scratch actually is a lot faster than choosing and learning the API for a library, but in the long term takes more effort to maintain (higher TCO). The choice depends not only on how complex your own code would be, but also how mature and well maintained the library is (e.g. maybe a library that's just right is some solo developer's pet project, whereas a slightly more awkward fit is actively developed by a big company). That is the sort of thing where making the right choice really requires a lot of experience.
- mailslot 7y agoI’m mostly talking about trivial things. For example: Adding a third-party dependency to evaluate euclidian distance. i.e. A^2 + B^2 == C^2.