|
|
|
|
|
by tazjin
1019 days ago
|
|
I don't know C#, so maybe it has these, but it's unlikely: - absence of null pointers - proper sum types which can be statically checked for exhaustiveness - statically controlled mutability (yes, borrow-checking is still useful if you have a GC!) Also no exceptions, but that's not a type system feature. |
|
The compiler will ensure you check for null before de-referencing a nullable type.