r/programming • u/Xaneris47 • Sep 04 '26
Avoid adding new library to project: 10-year retrospective
https://pvs-studio.com/en/blog/posts/1408/
170
Upvotes
r/programming • u/Xaneris47 • Sep 04 '26
View all comments
Show parent comment
37
u/gordonmessmer Sep 04 '26
The article isn't saying "don't use shared libraries," it's laying out specific characteristics you should evaluate before you decide to use a shared library and reminding developers to make sure they trust the shared library's developers.
Remember that using a shared library effectively extends your application's commit access to the developers of the shared library, and to anyone they give commit access to in the future.