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
5
u/TOGoS Sep 04 '26 edited Sep 04 '26
Speak for yourself. I've avoided cryptography for the most part, but otherwise there have been times when I absolutely did want to each of those myself (as a new library) rather than use some third-party library.
JSON parsers are trivial enough that rolling your own is often cheaper than pulling in a dependency.
ORMs in Java tend to be a bit of a wrongly-engineered nightmare full of mutable state and spooky action at a distance. So rolling your own of those that fits the needs of your application and not what somebody else thought they wanted is also understandable.