We all know its a good idea to avoid using out variables in Java. In almost every case the code can be split up to avoid the situation. Its bad semantics because when reading the code its not obvious which object passed, if any will get mutated. So the reader is forced to [...]
Dec
14
2009
14
2009
Oct
27
2009
27
2009
Refactoring to Google Collections – ImmutableList for simple code
Google collections are excellent in multi-threaded applications, so I thought I would re-factor some code to use them.