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

4

u/SnugglyCoderGuy Sep 05 '26

With all things engineering the answer is "It depends".

The left pad incident comes to mind.

It's not just about reinventing the wheel, its about the implications of having external dependencies. There are rugs pulls to eorry about like left-pad, and supply chain attacks, and dependencies dictating how you structure your business logic instead of your business logic dictating your dependencies.