Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TickleSteve
on Dec 4, 2018
|
parent
|
context
|
favorite
| on:
NULL: The worst mistake of computer science? (2015...
"hardly
even
an error"
not
"hardly
ever
an error".
in other words, NULL pointer errors are a trivial error to deal with.
taco_emoji
on Dec 4, 2018
|
next
[–]
They're even easier to deal with if your type system guarantees you can never get them in the first place.
cultus
on Dec 4, 2018
|
prev
[–]
But yet it is the most common type of bug, even in production. Clearly, it's not that easy to deal with for human programmers. What's the problem with letting the compiler help you?
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
not
"hardly ever an error".
in other words, NULL pointer errors are a trivial error to deal with.