See Also

Chapter 8

Offensive programming—say no more.

Chapter 9

When faults breach your careful defenses, you’ll need a strategy to round them up.

Chapter 12

Defensive programming is a key technique for writing secure software systems.

Chapter 19

You must document pre- and postconditions; how else will anyone know they exist? If you have any constraints specified, then you can add defensive code to assert them.

image with no caption

Get Code Craft now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.