Re:Don't Use Booleans
by junon on Tuesday July 09, 2024 @06:35AM
(#40914478)
Option is the better of the two. With a missing variant, there's no way to encode "infallibly successful". All call sites would have to check for a missing variant in all cases.
[ Parent
| on HN ]