top | item 22200359

(no title)

pdexter | 6 years ago

Yeah I think rust has better defaults here.

discuss

order

crimsonalucard|6 years ago

I get the choice. It's unintuitive for basic types to be wrapped in a maybe mondad. People expect addition, subtraction and division to return numbers. To have division be the only operation to return an optional is a bit off.

I get the choice of why it wasn't done with haskell even though I disagree with it.