On 9/22/10 04:19 , Miroslav Pokorny wrote:


And yet others have been arguing how testing against null is better than catching an excecption.


For me is the opposite. Any method such a single result finder that could return null, for me throws instead a (checked!) NotFoundException. I think we should accept that our mileage may vary a lot in this field.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups "The Java 
Posse" group.
To post to this group, send email to javapo...@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to