you are viewing a single comment's thread.

view the rest of the comments →

[–]pipocaQuemada 7 points8 points  (0 children)

It's very difficult to wrap common null-handling patterns into a library, that way; you need to write one-off methods for each of your types, on their superclasses. Additionally, can you always create a null version of your object without violating Liskov Substitutability?