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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help