How would you do that in Rust (versus Java)

It is null in different clothes, but the clothes that nulls wear are important. The main thing that Option gives you is that it communicates who is actually responsible for checking if a value is null, and ensuring that it is only checked when null (None) is an intended and possible value.

9 Likes