News for hackers. Stuff that matters.
Re:How I went about learning Rust by throwaway234232 on Friday July 15, 2022 @11:56AM (#32109431)
You can still use a null, however the point being made here is that null was failed to be included at type level.

See these for reference

* https://kotlinlang.org/docs/null-safety.html

* https://dart.dev/null-safety

* https://docs.microsoft.com/en-us/dotnet/csharp/nullable-refe...

An orthogonal approach would be using a data type such as Maybe or Option, but ergonomics depends on language.

There are no comments on this comment yet.