News for hackers. Stuff that matters.
Re:Veloren – Open-source MMORPG written in Rust by sinistersnare on Friday February 05, 2021 @04:57PM (#26041738)
Using `unwrap` is not something that can come back to bite you in a long term (other than API design wise). Replacing it is dead easy, as the compiler helps you. Also, you can replace it with a call to `expect` to give a relevant message too.
Re:Veloren – Open-source MMORPG written in Rust by est31 on Friday February 05, 2021 @05:06PM (#26041823)
That's why I said it's way better. It's usage is still not considered good practice for most scenarios.