What is The Billi...
What is The Billi...
The "Billion Dollar Mistake" refers to the decision by Tony Hoare, the inventor of the null reference, to include it in Algol W, a programming language he designed in 1965. In a 2009 conference, Hoare apologized for this decision, calling it his "billion-dollar mistake"[3].
Null references, also known as null pointers, are a common source of errors in many programming languages. When a program tries to access data through a null reference, it typically results in a null pointer exception or similar runtime error. These errors can be difficult to diagnose and can cause programs to crash or behave unexpectedly.
Hoare's regret stems from the fact that null references have led to "innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years"[3]. The pervasive use of null references in many programming languages has made it challenging to write robust and reliable software.
To mitigate the issues caused by null references, some programming languages and frameworks have introduced alternatives, such as:
expert
Gợi ý câu hỏi phỏng vấn
Chưa có bình luận nào