|
1.5 is out and 'cargo install' seems pretty cool.
|
# ¿ Dec 19, 2015 13:43 |
|
|
# ¿ Apr 29, 2024 20:58 |
|
Jsor posted:Gee, thanks, Rust, I learned so much. It's a good thing 98% of your Rust bugs the compiler catches, and 1.5% are logic errors that result in incorrect computations. Runtime panics happen so rarely this is at least tolerable. I can mostly get around it by always using expect instead of unwrap and making sure each possible panic has a unique error message. You're not really supposed to use unwrap in 'production' code anyways.
|
# ¿ Jan 7, 2016 08:38 |
|
Deus Rex posted:Sure you are. Maybe not as much, or in all the same ways, as when you're hacking together a prototype, though. Ideally, you would have production code that doesn't allow panics to get to the user. That would be a more nuanced way of saying what I originally did.
|
# ¿ Feb 20, 2016 22:12 |