Skip to main content
Post Made Community Wiki by sea-rob
Source Link
Winston Ewert
  • 25k
  • 12
  • 74
  • 103

The issue to what degree your programming language attempts to prove your program's correctness before it runs it. In a statically typed language you prove that you have the correct types. By moving to default of non-nullable references (with optional nullable references) you can eliminate many of the cases where null is passed and it shouldn't be. The question is whether the extra effort in handling non-nullable references is worth the benefit in terms of program correctness.