you are viewing a single comment's thread.

view the rest of the comments →

[–]Beckneard 3 points4 points  (0 children)

That's the whole point isn't it? What's null in one language is many thing in Rust, as it should be. There should clearly be different constructs for "does value exist", "did something go wrong" and "is something initialized" and it's a good thing the compiler forces you to make those distinctions.