3 ms·
Why NULL references are a bad idea
- paulddraper 10y agoNULL 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...