Archive for October 17th, 2008
what to do for nulls
October 17th, 2008 by Jeanne BoyarskyA logical follow up to null checking in the extreme and Never return Null Arrays, is what we should be doing when a null does get returned. The problem Consider the following method: This time, a null check is appropriate because we can’t guarantee createBuilder() works as advertised. Let’s assume that the method is either [...]
Posted: 17 October, 2008 in Development Process.
Comments: -
