This is bad because the program behaves different depending on build flags. What's the point of having "use unsafe addition" flag, and having it enabled by default?
Rust developers made a poor choice. They should have made a special function for unchecked addition and have "+" operator always panic on overflow.
Rust developers made a poor choice. They should have made a special function for unchecked addition and have "+" operator always panic on overflow.