|
|
|
|
|
by happy_dino
4807 days ago
|
|
The null object pattern and Maybe/Option are different concepts. The most important point: A NOP for some type T exposes T's API directly, while Maybe/Option has its own API (and the type system enforces that Option[T] can't be treated as a T). |
|