Java 8 has an Optional to deal with NullPointerException

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at:

I don’t think I am impressed with this. The idea is borrowed from Scala. I have no love for Java or Scala, and I only follow Java because it impacts Clojure. If this enables Clojure to do something clever with NullPointerException, then maybe I will reevaluate this.