Learning from Software Errors – Part 7: The Billion-Dollar Mistake
heise.de·3h
Flag this post

Hardly any software problem is as common and at the same time as costly as null references. They are among the most frequent causes of system crashes, undefined states, and security vulnerabilities. Every developer has seen an error message like “NullPointerException”, “Object reference not set to an instance of an object”, or “Segmentation fault” at least once.

Pattern 7: Null References and Empty Values: The “Billion-Dollar Mistake”

Tony Hoare, one of the fathers of modern programming languages, later described the introduction of the null reference in the 1960s as his Billion-Dollar Mistake. In 1965, he developed the ALGOL W programming language, and to make it more flexible, he a…

Similar Posts

Loading similar posts...