> In most cases, you should use Option if you need something that could be > none, and avoid nil, even on reference types.
I beg to differ. It allows for the state `Some(nil)` which you cannot easily prevent at compile time.
> In most cases, you should use Option if you need something that could be > none, and avoid nil, even on reference types.
I beg to differ. It allows for the state `Some(nil)` which you cannot easily prevent at compile time.