Tech Lead Journal

#241 - Your Code as a Crime Scene: The Psychology Behind Software Quality - Adam Tornhill

14 snips
Dec 1, 2025
Adam Tornhill, CTO and founder of CodeScene, shares his insights on blending psychology with software engineering to improve development quality. He discusses how human factors often lead to project failures and introduces the concept of treating code like a crime scene to identify high-risk areas. Adam highlights that just 1-2% of code can account for a majority of development effort, emphasizing the importance of focusing on these hotspots. He also warns about the potential pitfalls of AI in coding without proper guardrails, urging leaders to understand the psychological aspects of their teams.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Prioritize The Tiny Hotspot Fraction

  • A tiny fraction of files drive most work; often 1–2% of code accounts for the majority of changes.
  • Prioritize those hotspots first to get the best ROI on quality improvements.
ADVICE

Use Code Health As A Business Metric

  • Measure and improve code health using agreed bad-practice signals instead of vague definitions of quality.
  • Target healthier code to double speed and make delivery ten times more predictable.
INSIGHT

Static Analysis Lacks Business Prioritization

  • Static analysis finds style and bug patterns but cannot prioritize what to fix by business impact.
  • Without behavioral context, important hotspots drown in thousands of low-value issues.
Get the Snipd Podcast app to discover more snips from this episode
Get the app