3 ms·
> RE: panic default, don't get fooled by hobby projects, professional Rust code always does pattern matching and does not defer to panics. That's a "programmer
by jmull 2y ago
> RE: panic default, don't get fooled by hobby projects, professional Rust code always does pattern matching and does not defer to panics.
That's a "programmers who know what they're doing don't make that mistake" argument. If that were tenable there'd be no need for rust in the first place.
- pdimitar 2y agoYeah I don't disagree, you do have a point. But this is easier to scan for compared to all the potential memory unsafeties in C/C++. It's an improvement.