Re:Common Rust Lifetime Misconceptions
by gruelsandwich on Tuesday December 05, 2023 @01:18AM
(#38527679)
This is what I love about Rust, and other languages with these kinds of constructs. You have to acknowledge that something might e.g. fail. You can choose to do "nothing" (e.g. unwrap), but it must be done explicitly, which makes the ignored cases simple to identify later
[ Parent
| on HN ]
Re:Common Rust Lifetime Misconceptions
by satvikpendem on Tuesday December 05, 2023 @07:45AM
(#38530046)
I used to use OCaml before using Rust, it was similarly great and it's where Rust got the notion of the Option and Result types.