For partial functions (i.e. those that may be undefined on some input), the
most correct thing to do seems to be to return None, the bottom type.
However the convention seems to be otherwise - either returning nothing,
when the function is only used for side effects, or a Nullable{T}, when
there are "missing values".Are there any best practices here?
