Alois Kraus


  Home  |   Contact  |   Syndication    |   Login
  115 Posts | 8 Stories | 306 Comments | 162 Trackbacks


Article Categories


Post Categories

Image Galleries


November 2009 Entries

I have written far too many null checks in my life. Why do we have even null values? They only seem to provoke a NullReferenceException in our code after all. F# for example has the option type with the value None which is semantically the same as null without being null which makes it impossible to access invalid values by accident. It is of course possible to create null values in F# but it is not the most natural thing in a functional programming language. How can we make C# safer without writing ......