by Stephan Schmidt

Better Null Handling Strategies for Java

Uploaded a presentation on “Better Null Handling Strategies for Java” to SlideShare. Enjoy.

View more presentations from Stephan Schmidt. (tags: java null)

You can leave a Reply here. Of course, you should follow me on twitter here.

You can share this post!
Do you want to tell others about this article? Use the social bookmark icons to submit this artice to the service of your choice. Thanks.

About the author: Stephan Schmidt is head of development at brands4friends. He has more than 15 years of internet technology experience and 10 years experience in agile. He was head of development, consultant and CTO and is a speaker, author and blog writer. He specializes in organizing and optimizing software development helping companies by increasing productivity with lean software development and agile methodologies. Want to know more? All views are only his own.
Leave a reply.

Comments

Java 7 comes with the ? operator to help

André Claaßen

Ich komme aus der .NET-Welt. Null ist für mich neben GOTO das Übel dieser Welt. In der Experimentiersprache Spec# (C# mit eingebautem Design by Contract) konnte man bei der Deklaration Null verbieten. Damit waren auch die Exceptions weg, weil der Compiler und sogar schon die IDE beim Tippen jegliches Arbeiten mit NULL verboten haben.

Insgesam finde ich Option gut, wenn man Null braucht, ansonsten halte ich Design by Contract für eine bessere Idee.

[...] Better Null Handling Strategies for Java | Code Monkeyism – Uploaded a presentation on “Better Null Handling Strategies for Java” to SlideShare [...]

Uwe
francisco

Hi Stephan

I hope you’re aware of The Optimized Null Check pattern:

http://jonasboner.com/2006/04/04/the-optimized-null-check-pattern.html

I had a similar 15min. presentation yesterday

http://thought-tracker.blogspot.com/2009/05/15-min-null.html

Leave a Reply

What people wrote somewhere else:

Additional comments powered by BackType