r/programming • • Sep 04 '26

Avoid adding new library to project: 10-year retrospective

https://pvs-studio.com/en/blog/posts/1408/
170 Upvotes

35 comments sorted by

View all comments

Show parent comment

6

u/CharmingComputer3844 Sep 04 '26

It's a fine line between wanting control and ending up reinventing the wheel. Sometimes, the simplicity of a well-established library can be a lifesaver.

8

u/m_adduci Sep 04 '26

Absolutely. There are so.many edge cases lurking out there and many libraries are meanwhile so hard battle tested that inventing something by yourself is much more painful.

Examples: curl, openssl, Jackson, opencv

3

u/-Y0- Sep 05 '26

Forget those, having a decent XML library that handles ALL the edge cases is a godsend.