Hacker News new | ask | show | jobs
by joshgev 2023 days ago
> It seems as though there is this common misconception that Rust does not have a concept of null.

I don't think that's quite relevant, though. Rust doesn't have a concept of nulls like like Java, Javascript, Python, etc do in which just about any variable might contain a value or null. Rust certainly doesn't have that.

1 comments

I would not say that it is not relevant. Raw pointers are a fundamental part of the language. It is just that Rust abstracts over them so that many users do not have to worry about them.

I see your point though.