C and C++ could have non_nullable pointers, easily
C and C++ could have non_nullable pointers, easily
Posted Aug 21, 2009 18:50 UTC (Fri) by bronson (subscriber, #4806)In reply to: C and C++ could have non_nullable pointers, easily by nix
Parent article: Null pointers, one month later
> All it does is automates away the null checks everyone should already be doing anyway
More like it mandates the null checks that everybody is supposed to do but even the most skilled programmers can't get 100% correct. It should raise the quality of all C programs.
> at best it'd give you something like a dump of program state at the
time of the unintended NULL dereference
Yes, that's better than dereferencing and getting rooted isn't it?
