r/java • • Apr 10 '26

The Best Library Might Do Less

https://martiansoftware.com/articles/the-best-library-might-do-less

I wrote a short post about something I think about a lot when writing or evaluating libraries. For me that usually means Java libraries, but the ideas aren't Java-specific.

It describes how I think about a library's "value" in the usefulness sense, and how libraries can go too far and become less useful. I thought it might be helpful to pull those ideas together in one place.

Rereading it myself, I also noticed it lines up pretty well with the Unix philosophy.

21 Upvotes

14 comments sorted by

View all comments

Show parent comment

4

u/martylamb Apr 10 '26

Thanks - and your Guava examples are exactly right IMO. If something is well-designed and consistent, it can be a "large" library in the bytecount sense but still very "cognitively small."

Their arguments will be very compelling. It takes strength [...]

Indeed!

(and thanks for the great Java tools!)