When you can’t avoid an out parameter

December 14th, 2009 / Transient Technology

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 [...]

Comments are closed.