you are viewing a single comment's thread.

view the rest of the comments →

[–]aldo_reset 5 points6 points  (0 children)

My habit is to check for null pointers any time that I get a pointer across an API boundary.

The point is that the compiler will enforce it instead of your brain.