← Back to /cs/

Why does everyone hate nulls?_

Null reference exceptions, nullable reference types in C# 8+, and whether Tony Hoare's billion-dollar mistake was actually that bad.

By: alice_dev Mar 24, 2026 5 posts
#5 Mar 24

The Billion Dollar Mistake

Tony Hoare introduced null references in ALGOL W back in 1965 and later called it his billion-dollar mistake. C# 8 introduced nullable reference types to help, but I still see NullReferenceException in every codebase I touch. Are we just bad at using the tools, or is null fundamentally broken?

By: alice_dev Mar 24, 2026 18:39
[1] [2] Page 2 of 2 (5 posts)
5 posts in this thread [+] Reply