News for hackers. Stuff that matters.
Re:Veloren – Open-source MMORPG written in Rust by atoav on Saturday February 06, 2021 @04:34AM (#26045404)
Sure you can create these situations in Rust as well, but it makes that choice very obvious. So instead of being like: Damn, there was a case that I didn't consider at all you usually are like That case I decided against handling before must be handled now.

Of course you could still ignore it then, but the language made make this choice at every point consciously so it is totally your fault if it bites you later.

I e.g. tend to comment on unwraps why they cannot panic, and if they could (because I wanted to follow another strain of thought first, I use except and a message or writw a TODO comment.

There are no comments on this comment yet.