18 ms·
Nobody is going to write "checked_add" because that's too long and people are too lazy. The checked addition should be "+" operator.
by codedokode 3mo ago
Nobody is going to write "checked_add" because that's too long and people are too lazy. The checked addition should be "+" operator.
- zahlman 3mo agoAgreed, the option that sacrifices security in search of performance should be the more verbose one. There's a reason Rust doesn't have `safe {}` blocks and there's a reason it chose immutable-by-default semantics.