Today's "Little Program" is really a
"Little Puzzle" that got out of hand.
This started out as a practical question:
This code fragment screams out for some sort of simplification.
(I've changed the names of the classes.)
Clearly, the pattern is
Everything here is pretty straightforward,
except for the
Can we write...