mos_8502 :verified: on Nostr: The purpose of course is to guard against null pointer dereferences, which crash the ...
The purpose of course is to guard against null pointer dereferences, which crash the program on a good day. By ensuring that a pointer is non-nullptr at creation, we make using it simpler -- inside the scope of the if statement, you *know* whether the pointer is null or not.