It is kind of incorrect to say that Rust doesn't have null. The Option Enum has a None variant that gets used all the time. What Rust doesn't have is nullable types. Instead it adds 'Some' as a sort of "not null" this forces you to always handle the null case by forcing you to handle the not null case.

Reply to this note

Please Login to reply.

Discussion

No replies yet.