↧
Refactoring to Google Collections – ImmutableList for simple code
I was reading this excellent post on google collections by Sune Simonsen and decided to re-factor some code of mine. I have an immutable results object used in a multi-threaded application. I wanted to...
View ArticleWhen you can’t avoid an out parameter
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...
View Article