By using this site, you agree to our Privacy Policy and our Terms of Use. Close

: Assume that users will provide bad data and that code will fail; write routines that protect themselves from invalid inputs. 3. Effective System Design

McConnell emphasizes that being a great programmer is as much about character as it is about technical skill.

: Keep the "live time" of variables (the time between declaration and use) as short as possible to minimize mental load.

Below is a guide to the book's core principles and practical techniques for building high-quality software. 1. The Core Philosophy: Software Construction

: McConnell argues that the primary technical goal of software engineering is to reduce complexity. Programs should be easy to "keep in your head" at once.

: Have peers review your low-level designs and code to catch errors early. 5. Personal Character and Craftsmanship

: High-quality code is organized into small, cohesive routines and well-defined classes.

" Code Complete: A Practical Handbook of Software Construction " by Steve McConnell is a definitive guide to the "construction" phase of software development, focusing on the actual act of coding, debugging, and testing.