Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That depends though. In Java/C# dereferencing a null reference is a runtime error and you can pinpoint exactly where it happened. In C++/Rust, dereferencing null pointers is undefined behavior since the compiler makes assumptions that a dereferenced pointer cannot be null.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: