3 ms·
But it's not. A `Maybe<char>` has exactly one `None` variant. While an `int` has many, many negative values. Also, just calling it `None` (or similar) makes c
by nixpulvis 7y ago
But it's not.
A `Maybe<char>` has exactly one `None` variant. While an `int` has many, many negative values.
Also, just calling it `None` (or similar) makes clear what is meant, while `-1` is some magic value.
- chrisseaton 7y ago> while `-1` is some magic value It's a documented return value. Nothing magic about it.