I’ve sometimes thought that some programmers are making too big a deal about NullPointerException. Then I looked at a Java project I had set aside for a few months. One class in the project had seven or eight warnings. I figured it would take me five minutes to clear those warnings.

Four or five of those warnings were “dereferencing possible null pointer.” It turns out that due to my limited understanding of instanceof back then, I hadn’t written tests for null parameters. Needless to say, it took me way more than five minutes.

is a composer and photographer from Detroit, Michigan. He has been working on a Java program to display certain mathematical diagrams.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store