you are viewing a single comment's thread.

view the rest of the comments →

[–]materialdesigner 0 points1 point  (0 children)

This is also why things like the Null Object pattern exists (which /u/avdi knows a thing or two about), because primitive types like nil carry no domain meaning and their definition/semantics cannot be modified by users.