Key Points

  • Making boolean expressions simple and readable contributes substantially to the quality of your code.

  • Deep nesting makes a routine hard to understand. Fortunately, you can avoid it relatively easily.

  • Structured programming is a simple idea that is still relevant: you can build any program out of a combination of sequences, selections, and iterations.

  • Minimizing complexity is a key to writing high-quality code.

Get Code Complete, 2nd Edition 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.