On 05/26/2013 03:37 AM, bearophile wrote:
Timon Gehr:Even if it's not a big problem, in the end this problem is now "solved", because all new languages (Scala,scala> val s : String = null; s: String = null scala> s(0) java.lang.NullPointerExceptionThank you. Are nulls used in Scala outside the strict needs of interacting with Java libraries? Bye, bearophile
I'd assume it is more idiomatic to use explicit option types. In any case, Scala allows dereferencing nullable refences.
