News for hackers. Stuff that matters.
Re:Scala's Option monad versus null-conditional operator in C# by daxfohl on Saturday February 20, 2016 @06:32PM (#11142487)
This is important for typical OO chaining

i.e. you should avoid:

serviceX.getServiceY().getServiceZ().getSomeValue();

But for just structured data it's not constructive to write accessor wrappers at each level. And for things like recursive data structures, it's not even possible.

There are no comments on this comment yet.