3 ms·
NULL is arguably the biggest mistake in the history of programming, in the sense of practical pain stemming from a small detail. Its inventor Tony Hoare, calls
by paulddraper 10y ago
NULL is arguably the biggest mistake in the history of programming, in the sense of practical pain stemming from a small detail.
Its inventor Tony Hoare, calls it "my billion-dollar mistake."
I wrote about it (and the alternative Maybe pattern) a couple years ago: https://www.lucidchart.com/techblog/2015/08/31/the-worst-mistake-of-computer-science/ https://www.lucidchart.com/techblog/2015/08/31/the-worst-mis...