Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lomnakkus
on April 28, 2014
|
parent
|
context
|
favorite
| on:
Some thoughts on Go and Erlang
You're talking about undefined behavior. There's no such thing as a null reference according to the C++ language specification.
dbaupp
on April 28, 2014
[–]
So? It's still possible to create one. (There's no such thing as dereferencing an invalid pointer according to the standard, but that still happens.)
lomnakkus
on April 29, 2014
|
parent
[–]
If it takes undefined behavior to create a "null reference" then by definition it's not possible to create one and still have a well-defined program. That is, you have bigger problems than "null references" to worry about.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: