When I was writing code regularly in both C++ and Java in the early days of Java, I often missed Java’s (at the time) lack of an enum. Fortunately, when Java finally got its enum, it was worth the ...
In the current series of posts I am writing on reducing the number of parameters required to call Java methods and constructors, I have focused so far on approaches that directly affect the parameters ...