> Markdown version of [/videos/1342-your-code-as-a-crime-scene?t=113](https://www.wearedevelopers.com/videos/1342-your-code-as-a-crime-scene?t=113). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Your Code as a Crime Scene Adam Thornhill proves treating your codebase like a crime scene exposes hidden technical debt. Discover how behavioral profiling can reclaim the 40% of engineering capacity wasted on bad code. - **Speakers:** Adam Tornhill - **Event:** Coffee With Developers - **Published:** June 2, 2025 - **Duration:** 20:18 - **URL:** https://www.wearedevelopers.com/videos/1342-your-code-as-a-crime-scene ## Summary Adam Thornhill, creator of CodeScene, explores the intersection of behavioral psychology and software engineering to debunk the enduring myth that development speed must inevitably be sacrificed for code quality. By analyzing version control data through the lens of criminal psychology—specifically geographic offender profiling—engineering teams can uncover hidden organizational workflows and developer footprints. These analytical traces expose systemic issues like the "lone wolf" developer pattern or misaligned team structures that raw source code alone fails to reveal, allowing teams to accurately identify the highest-risk areas of technical debt. As the industry rapidly embraces AI-assisted features and "vibe coding," the volume of unmanaged technical debt is compounding at an unprecedented rate. Rather than using AI merely to generate more boilerplate and inadvertently shortcut the developer learning loop, there is a profound, underexplored opportunity to repurpose AI tools to understand and simplify existing legacy architecture. Failing to manage this exponential growth in complexity transcends coding friction; empirical data shows that poor code quality routinely wastes roughly 40% of an organization's total engineering capacity, making technical debt management a matter of strict organizational survival. Ultimately, balancing speed with quality demands a mindset shift that translates abstract coding roadblocks into concrete business metrics like time-to-market. Establishing explicit code quality KPIs helps bridge the communication gap between development and non-technical stakeholders, ensuring refactoring gets the necessary prioritization. At the core of managing this growing complexity is one immutable principle: code is read far more often than it is created. Developers must always prioritize long-term maintainability and "write for a human audience, not the machine." **Keywords:** code quality metrics, technical debt management, software behavioral psychology, version control data analysis, vibe coding pitfalls, communicating technical debt, code quality KPIs, AI-assisted code generation, software maintainability metrics, developer productivity KPIs, codebase complexity analysis, engineering stakeholder alignment, geographic offender profiling, lone wolf developer pattern, legacy code simplification, engineering team dynamics ## Chapters 1. **Debunking the speed versus quality myth in software engineering** (00:01) — How empirical data disproves the common assumption that development speed and code quality are mutually exclusive. 1. **Applying psychology to software development and engineering workflows** (01:53) — Utilizing psychological concepts to improve communication between engineering and management regarding technical debt. 1. **Treating software architecture like geographical offender profiling** (03:42) — Using criminal psychology techniques to track developer behavior and identify critical hotspots in codebases. 1. **Uncovering team dynamics through version control data analysis** (05:37) — How version control traces reveal organizational smells like misaligned architecture and lone wolf code ownership. 1. **Understanding the origins of the speed versus quality myth** (07:36) — How the delayed feedback loop between technical stability and rapid feature delivery creates organizational friction. 1. **Navigating technical debt generation in the era of AI** (09:16) — Why the rapid pace of AI code generation makes proactive codebase maintenance an organizational survival imperative. 1. **Examining the limits of AI-assisted vibe coding** (10:06) — Utilizing AI for rapid prototyping can shortcut the developer learning process and generate redundant code. 1. **Democratizing feature prototyping for non-technical product managers** (13:04) — How product managers can leverage AI tools to create functional prototypes and improve engineering communication. 1. **Translating technical debt into business language for management alignment** (14:58) — Framing code cleanup efforts around efficiency and time to market secures critical buy-in from management stakeholders. 1. **Establishing reliable key performance indicators for code quality** (17:37) — Measuring codebase health with reliable metrics prevents engineering capacity waste and restores developer efficiency. 1. **Writing software focused on long-term human readability** (19:23) — Prioritizing human comprehension over machine optimization reduces friction since codebase files are predominantly read rather than written. ## Related Moments - [Identifying core challenges in modern software development](https://www.wearedevelopers.com/videos/1023-from-zero-to-hero-launch-manage-your-cloud-apps-with-free-openshift-red-hat-developer-hub) (from "From Zero to Hero: Launch & Manage Your Cloud Apps with Free OpenShift & Red Hat Developer Hub") - [Using AI copilots to explain and debug legacy codebases](https://www.wearedevelopers.com/videos/1302-wearedevelopers-live-dishonest-charts-britcss-debugging-with-ai) (from "WeAreDevelopers LIVE - Dishonest Charts, BritCSS, Debugging with AI") - [Motivations for adopting AI to enhance developer productivity](https://www.wearedevelopers.com/videos/1266-navigating-the-ai-revolution-in-software-development) (from "Navigating the AI Revolution in Software Development") - [Balancing development speed with long-term software sustainability](https://www.wearedevelopers.com/videos/2097-ai-code-then-vs-now-from-complex-rubbish-to-co-piloting-in-12-months) (from "AI Code then vs now: From Complex rubbish to co-piloting in 12 months") - [Improving communication while defending foundational code quality](https://www.wearedevelopers.com/videos/1438-why-most-software-projects-fail-silently) (from "Why (most) software projects fail silently...") - [Balancing code generation velocity with software quality standards](https://www.wearedevelopers.com/videos/1815-let-s-talk-quality-lilia-gargouri) (from "Let's Talk Quality! - Lilia Gargouri") ## Related Articles - [Dev Digest 112 - The True Crime of AI Development](https://www.wearedevelopers.com/magazine/421-dev-digest-112-the-true-crime-of-ai-development) - [Transforming Software Development: The Role of AI and Developer Tools](https://www.wearedevelopers.com/magazine/527-transforming-software-development-the-role-of-ai-and-developer-tools) - [Lessons for Vibe Coders and Developers](https://www.wearedevelopers.com/magazine/614-lessons-for-vibe-coders-and-developers) - [Exploring AI: Opportunities and Risks for Developers](https://www.wearedevelopers.com/magazine/522-exploring-ai-opportunities-and-risks-for-developers) ## Related Jobs - [Tribe Lead - ( Software) Engineering Centre of Excllence](https://www.wearedevelopers.com/jobs/ext/1475530-tribe-lead-software-engineering-centre-of-excllence) at **SD Worx** - [Staff Developer Advocate, GitHub Security Lab](https://www.wearedevelopers.com/jobs/ext/1921051-staff-developer-advocate-github-security-lab) at **GitHub** - [Senior Software Engineer](https://www.wearedevelopers.com/jobs/ext/15942-senior-software-engineer) at **GitHub** - [Staff Software Engineer, Copilot Experiences](https://www.wearedevelopers.com/jobs/ext/164361-staff-software-engineer-copilot-experiences) at **GitHub** - [Senior Software Engineer, Enterprise Products](https://www.wearedevelopers.com/jobs/ext/1841248-senior-software-engineer-enterprise-products) at **GitHub** - [Principal Product Manager, Agent Platform](https://www.wearedevelopers.com/jobs/ext/277541-principal-product-manager-agent-platform) at **GitHub**