Re:Erg: a statically typed language that is Python compatible
by bobbylarrybobby on Sunday August 14, 2022 @12:52AM
(#32456453)
Rust has a variety of checked methods -- `checked_add` etc -- that allow for fallible int operations. And there are corresponding `wrapping_` versions that indicate wrapping is the correct behavior (and shouldn't panic in debug builds).
[ Parent
| on HN ]
There are no comments on this comment yet.