April 2018
Intermediate to advanced
396 pages
11h 8m
English
As you already saw, the null object design pattern is already incorporated in Scala (and newer versions of Java) through the use of Option (Optional in Java). This makes it really easy to use and shows the power of the language once more. Using null objects makes our code look much more readable and removes the need to take extra care when a value is null. It also reduces the risk of bugs.
Read now
Unlock full access