r/java • u/martylamb • Apr 10 '26
The Best Library Might Do Less
https://martiansoftware.com/articles/the-best-library-might-do-lessI 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
View all comments
Show parent comment
1
u/martylamb Apr 10 '26
Naming can be super hard. Usually I know when I get it right, but it can feel like wandering in the wilderness before getting there. The most frustrating things for me on the consumer side are:
names should be concise, clear, and consistent. Nail those and you get memorable and unsurprising for free.