Google's Guava library, at least the parts I've seen, is incredibly well written and organized.
A assume most "standard library" type stuff is where you will find the cleanest code.
A assume most "standard library" type stuff is where you will find the cleanest code.
I ended up refactoring it again, and the code is still not as clear as guava.
For instance, I noticed they were using an enum for functions and I was like WTF who does that? Later I decided to make my library serializable so we can save to disk. Well, turns out that's exactly why they used an enum. My solution was to make a utility class to wrap the non-serializable objects but their solution was much clearer and less code