Assert yourself
Thoughts about Chapter 2 Assert yourself from book Writing Solid Code
Defensive programming is like defensive driving, which means you are never sure what other driviers will do. The mindset behind it is that you expect incorrect situations and handle it correctly.