Hacker News new | ask | show | jobs
by tstack 686 days ago
They most certainly can be null as can “this”.
2 comments

Only after dereferencing a null pointer, which would be the actual problem, not the fact that some reference or this is null.
You cannot have a null reference unless you invoke undefined behavior first.