In Java it always irks me when I have to create a collection and then populate it in separate steps as follows:
List states = new ArrayList(); state.add(State.CA); state.add(State.WY);
Then today I read about using an anonymous subclass with instance initializer to initialize a collection which appeals to the block loving Rubyist in me:
Continue reading