|
|
|
|
|
by boxmonster
2002 days ago
|
|
the unwrap_or_else makes a lot more sense, because I could just use the ? operator, but if I don't want to panic, then I'll use unwrap_or_else. I am not by any means an advanced Rust programmer and in fact learning from your book, so I didn't mean to offend anyone. My initial impression of the match syntax for return values was that I didn't like it. Sorry. |
|
I think the downvotes are because both the example and the generalized statement that C# is "noticeably faster" is bait / lazy.