3 ms·
> They may appear to be the same but they are not because in certain languages (like Rust) you are forced to handle the `Option` case when a value is `None` whi
by munificent 6y ago
> They may appear to be the same but they are not because in certain languages (like Rust) you are forced to handle the `Option` case when a value is `None` which guides a programmer's thinking in the direction of what to do in that situation.
Languages with nullable types are equally strict:
int? maybeInt;
maybeInt + 3; // <-- Compile error.