3 ms·
Dereferencing null is allowed at compile time but disallowed at run time; that's what makes it an illegal operation.
by 6502nerdface 10y ago
Dereferencing null is allowed at compile time but disallowed at run time; that's what makes it an illegal operation.
- saghm 10y agoAh, so the term in this case is just used to mean "something that cases a runtime error"? I think I misunderstood because the comment I was responding to said "using a null reference", which to me doesn't necessarily imply dereferencing it (although that's open to interpretation of course).