Software engineering · 5 min
Code inspections
Learn about reviewing work.
What the sources describe
In the 1970s, Michael Fagan, an engineer at IBM, developed a structured method for reviewing software designs and code to find errors before testing. He described it in a 1976 paper.
In Fagan inspections, a small team meets with defined roles: a moderator who leads, the author who wrote the work, a reader who explains it and inspectors who look for problems. Participants prepare beforehand using checklists of common errors. The aim is to find defects, not to fix them during the meeting or criticise the author.
Fagan reported that inspections found many defects early, when they are cheaper to fix than after software is released. Other studies also found that reviewing work catches errors testing can miss.
Today, most software teams use lighter forms of code review, often online, where colleagues comment on changes before they are added. A 2013 study at Microsoft by Alberto Bacchelli and Christian Bird found reviews also help share knowledge and improve code clarity, not just find bugs.
Connecting the ideas
In 1976, Michael Fagan at IBM described structured inspections in which a team with defined roles reviews designs and code to find defects early, an idea behind modern code review.
The big idea
A second pair of eyes catches mistakes and spreads knowledge.
Use it in real life
Ask a friend or colleague to review something you wrote, such as an email, essay or plan. Give them a short checklist of things to look for, such as unclear sentences or errors. Note what they found that you missed, and consider adding review to your regular routine.
Try it
Made-up example: What is the aim of a Fagan inspection meeting?
A good answer: to find defects, not to fix them during the meeting or criticise the author.
Quick quiz
1. Why prepare with checklists?
2. Why is finding defects early valuable?
3. What did the 2013 Microsoft study find about code review?
Finished reading?
Make this the next Doom video?
Vote for the lessons you'd most like to see turned into a short animated story.
How was this lesson?
No ratings yet — be the first.
Sign in to rateSources
Limitations
The original paper is linked (the publisher blocks automated reads, so only its listing was confirmed); other details rely on Wikipedia.
Voice: Debby — Soft and soothing (tap to change)
Debby narration · part 1 of 15
