Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tialaramex
41 days ago
|
parent
|
context
|
favorite
| on:
What if null was an Object in Java?
Tony Hoare calls it (null) his Billion Dollar Mistake.
https://www.infoq.com/presentations/Null-References-The-Bill...
fud101
41 days ago
[–]
We use None in Python - is that similar?
nextaccountic
41 days ago
|
parent
[–]
Yes, and no dynamically typed language can do much better than this, because in those your value of type X can always be another type (and you need to defensively check if you want to catch errors)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://www.infoq.com/presentations/Null-References-The-Bill...