News for hackers. Stuff that matters.
Re:Why Isn’t F# the King of .NET? by dgudkov on Monday September 19, 2016 @03:41PM (#12534102)
There is no way (from a type perspective) to guarantee in C# that an instance of a class can never be null -- this has to be ensured by code logic, conventions, etc. As application gets bigger it becomes easy to overlook a case that leads to a null reference exception.

The type system in F# can guarantee that an instance of a class can never be null and you can always refer to it safely.

There are no comments on this comment yet.