Best Practices: Avoid Returning Null
June 9, 2010 by Frank Salinas · 5 Comments
I recall the first oddity that struck me about Java programming is that it seems common practice to test returned objects for null. I find it frustrating and inefficient to scatter if conditions throughout my code just to see if I have a valid object instance returned. Read more
Use final
October 27, 2009 by Frank Salinas · 2 Comments
The final keyword is one that I find is under utilized. Use final in your projects as a means of defensive programming. If you are unfamiliar with this keyword here is a great article on its usage.