Adam Tornhill
Swedish programmer with degrees in engineering and psychology, author of Your Code as a Crime Scene and founder of CodeScene.
Adam Tornhill did not write this page. ppll compiled it from their own words, each linked to the source. Is this you? · Report a mistake
Latest x.com
What they believe
-
A strong manual coding background helps developers spot algorithmic weaknesses and flaws in generated code.
Just like a speed reader consumes text in patterns rather than word by word, a strong manual coding background has trained us to spot algorithmic weaknesses and flaws.
adamtornhill.substack.comSaid 15 Oct 2026This on korrents
-
The incremental steps of Test-Driven Development are optimized for human cognition but do not survive the transition to agentic coding.
The incremental TDD steps were great for human cognition, but didn't survive the transition to agentic coding.
adamtornhill.substack.comSaid 3 Sept 2026This on korrents
The bold line is korrents’ wording; the quote is theirs. These 2: what they wrote before what they said aloud, one per source, newest first.
Feed
As its own page →Hiding
11 November
5 November
28 October
16 October
15 October
From one piece Code for Humans and Machines 3 beliefs · adamtornhill.substack.com
-
korrents.com
Writing code is likely to be a dying skill.Their words
My personal goal is to get better at working with higher-level abstractions, and accept that writing code is likely to be a dying skill.
-
korrents.com
The way forward for developer experience is likely to involve capturing experience as enforceable constraints.Their words
Instead, the way forward is most likely to capture experience as enforceable constraints.
-
korrents.com
A strong manual coding background helps developers spot algorithmic weaknesses and flaws in generated code.Their words
Just like a speed reader consumes text in patterns rather than word by word, a strong manual coding background has trained us to spot algorithmic weaknesses and flaws.
6 October
28 September
25 September
22 September
10 September
8 September
3 September
From one piece Code for Humans and Machines 3 beliefs · adamtornhill.substack.com
-
korrents.com
Continuing to work in ways optimized for manual programming is unlikely to provide benefits in the era of AI agents.Their words
Agents are similar, and continuing to work in ways optimized for manual programming is unlikely to give us benefits.
-
Their words
What matters is that the code supports machine reasoning and change; the machine is the primary audience.
-
Their words
The incremental TDD steps were great for human cognition, but didn't survive the transition to agentic coding.
1 September
26 August
25 August
12 August
Nothing matches.
Beliefs
Korrents What they believe 18 beliefs — each backed by an exact quote.
Each is a — compiled by korrents.com, not by them: the one-line wordings are korrents', the quotes are theirs.
Recent
A strong manual coding background helps developers spot algorithmic weaknesses and flaws in generated code.
Just like a speed reader consumes text in patterns rather than word by word, a strong manual coding background has trained us to spot algorithmic weaknesses and flaws.
Code for Humans and Machines Said 15 Oct 2026
The way forward for developer experience is likely to involve capturing experience as enforceable constraints.
Instead, the way forward is most likely to capture experience as enforceable constraints.
Code for Humans and Machines Said 15 Oct 2026
Writing code is likely to be a dying skill.
My personal goal is to get better at working with higher-level abstractions, and accept that writing code is likely to be a dying skill.
Code for Humans and Machines Said 15 Oct 2026
Show 15 more
The incremental steps of Test-Driven Development are optimized for human cognition but do not survive the transition to agentic coding.
The incremental TDD steps were great for human cognition, but didn't survive the transition to agentic coding.
Code for Humans and Machines Said 3 Sept 2026
In agentic coding, the primary audience for code is the machine rather than the human.
What matters is that the code supports machine reasoning and change; the machine is the primary audience.
Code for Humans and Machines Said 3 Sept 2026
Continuing to work in ways optimized for manual programming is unlikely to provide benefits in the era of AI agents.
Agents are similar, and continuing to work in ways optimized for manual programming is unlikely to give us benefits.
Code for Humans and Machines Said 3 Sept 2026
AI will change the quality threshold required to keep systems stable.
The reason is that AI itself changes the quality threshold required to keep systems stable.
Code for Humans and Machines Said 30 Jun 2026
Future systems are likely to evolve at a significantly higher pace than today's systems.
And still: future systems are likely to evolve at a pace that is significantly higher than today where we still have plenty of constraints and manual checkpoints in our delivery pipelines.
Code for Humans and Machines Said 30 Jun 2026
Aiming for superhuman code quality may not be a realistic path.
One possible response is to aim for superhuman code quality. Personally, I don't think that's a realistic path.
Code for Humans and Machines Said 30 Jun 2026
Naming in software goes beyond aesthetics because good naming minimizes reconstruction work for both humans and machines.
As such, naming in software goes way beyond any aesthetics. Good naming minimizes reconstruction work. For both humans and machines.
Code for Humans and Machines Said 23 Jun 2026
Names act as cognitive compression mechanisms that allow design elements to stretch the amount of information held in working memory.
Names are cognitive compression mechanisms. Design elements with strong names stretch the amount of information you can hold in your head at once.
Code for Humans and Machines Said 23 Jun 2026
Vague and imprecise names, such as Utils, attract code of the same qualities.
A vague and imprecise name - like Utils - will attract code of those same qualities.
Code for Humans and Machines Said 23 Jun 2026
Recurring merge conflicts are a sign of socio-technical problems.
So, let me go out on a limb and claim that recurring merge conflicts are a sign of socio-technical problems.
Code for Humans and Machines Said 2 Jun 2026
The less humans code, the more it is necessary to optimize for design, architecture, and socio-technical fit.
The less we humans code ourselves, the more we need to optimize for design, architecture, and a socio-technical fit.
Code for Humans and Machines Said 2 Jun 2026
Recurring merge conflicts indicate a misalignment between the work being done and the architecture supporting it.
Recurring merge conflicts are the canary telling you that there is a misalignment between a) the work you do, and b) the type of work your architecture supports.
Code for Humans and Machines Said 2 Jun 2026
Agentic coding collapses the timeline of software decisions.
Agentic coding collapses the timeline of software decisions. What we gain in speed, we pay for in decision density and mental energy.
Code for Humans and Machines Said 7 May 2026
Agentic coding is mentally expensive.
Agentic coding is mentally expensive. I can usually sustain the pace for a couple of hours. Then I need a break. The pace is simply too intense.
Code for Humans and Machines Said 7 May 2026
Expert developers overestimate the impact of AI on productivity.
Adding insult to Big Tech injury, the study also demonstrates that even expert developers overestimate the AI impact on developer productivity.
Code for Humans and Machines Said 7 May 2026
What is a korrent?
A korrent is a belief a person has stated in their own words: one sentence stating the claim, backed by a quote and a source, kept at korrents.com.
Under a name here, the quoted block is what they actually said. The korrent beneath it is the claim those words support, in korrents' wording — tap it to see the record, its source, and who else holds it.
Nobody here wrote their own korrents. They are compiled from public statements, and a person can change their mind, which is recorded too.
Recommends rcmnd
rcmnd What they recommend 13 things — each backed by an exact quote.
Compiled by rcmnd.app, not by them: the quotes are theirs, and each links to the post it was copied from.
Recent
Liked Multi-Paradigm Design for C++
Multi-Paradigm Design for C++ by James O. Coplien. Twenty years after reading this, the core techniques are still with me. These are commonality analysis, where the purpose is to identify families of systems, and variability analysis, which focuses on capturing the domain parameters that vary. In essence: the foundation of great software design.
adamtornhill.substack.com 11 Aug 2026
Recommends The Little Schemer
The Little Schemer by Friedman and Felleisen. This book won't teach you Scheme. Rather, it teaches something more valuable: it teaches how to think recursively.
adamtornhill.substack.com 11 Aug 2026
Liked The Design of Design
The Design of Design by Frederick P. Brooks. It never received the attention that The Mythical Man-Month got, yet The Design of Design shares many of its qualities. It's a book that grows, and there's a wealth of insights on offer.
adamtornhill.substack.com 11 Aug 2026
Show 10 more
Loved Let Over Lambda
Let Over Lambda by Doug Hoyte is perfect for those three people in the world who find The Art of the Metaobject Protocol underwhelming. One of the most impressive books I've read.
adamtornhill.substack.com 11 Aug 2026
Recommends Working Effectively with Legacy Code
First, Refactoring, Domain-Driven Design, and the Pragmatic Programmer are all classics for a reason. Amazing books, and mandatory reads. Working Effectively with Legacy Code deserves all its praise, and of course everyone (yes, really) should check out the Mythical Man-Month.
adamtornhill.substack.com 11 Aug 2026
What others say about Working Effectively with Legacy Code →
Recommends The Mythical Man-Month
First, Refactoring, Domain-Driven Design, and the Pragmatic Programmer are all classics for a reason. Amazing books, and mandatory reads. Working Effectively with Legacy Code deserves all its praise, and of course everyone (yes, really) should check out the Mythical Man-Month.
adamtornhill.substack.com 11 Aug 2026
Mixed on Clean Code
Clean Code is another standard recommendation, but that one wasn't for me. There are useful design principles in there worth studying, but the book as a whole is too narrow and a bit too dogmatic for my taste. Your mileage might vary.
adamtornhill.substack.com 11 Aug 2026
Loved The Nature of Code
This book is a beautiful introduction to simulations of natural systems. We get concise prose, clear illustrations, and carefully chosen systems with a guided tour through the math. All done in the Processing language, which is fun and easy to pick up. The reason I like this book so much is probably due to timing. In 2013, I was on the verge of abandoning software development. I was fed up. (That's a story for another time.) Instead, I planned to go into cognitive psychology full-time as a researcher. This book brought back the joy in programming for me. Sometimes, a good book is the book that motivated you.
adamtornhill.substack.com 11 Aug 2026
Loved Thinking Forth
Thinking Forth by Leo Brodie. I used to have this habit where I learned various programming languages. To challenge my perspective, I chose languages from families and paradigms that were fundamentally different from what I already knew. Occasionally, I stumbled upon greatness. Thinking Forth presents programming as a creative process, and it delivers those lessons in an entertaining and pedagogical way. The book is particularly strong on software analysis and design, but it's the execution and technical writing that brought the book to my top five. This is the book for anyone writing about software — Leo's way is the way to do it.
adamtornhill.substack.com 11 Aug 2026
Recommends Facts and Fallacies of Software Engineering
Facts and Fallacies of Software Engineering by Robert L. Glass. In essence, this is a book about an industry that refuses to learn. That was true 25 years ago when this book was published, and it's probably twice as true today. (Just think about all the AI adoption metrics being rolled out — back to productivity mistaken for lines of code produced, only more elaborate. And expensive). What I like about this book is that Glass doesn't present anything new. Quite the opposite, actually. Rather, it's about research lessons that we all should know, but tend to forget. Ever had to do an estimate, or plan according to a requirements spec? Or maybe you thought that enough eyeballs make all bugs shallow? Then this book is for you. A great work by a fantastic author.
adamtornhill.substack.com 11 Aug 2026
What others say about Facts and Fallacies of Software Engineering →
Loved Paradigms of Artificial Intelligence Programming
Paradigms of Artificial Intelligence Programming by Peter Norvig. Learning the AI described in this book probably won't land you a job today. But reading the code examples will transform how you think about source code. The book shines when it comes to code comments, a topic that I've never seen demonstrated well in other sources. Here we get to see how comments become valuable as a narrative that explains both intent and reasoning. Brilliant, just brilliant.
adamtornhill.substack.com 11 Aug 2026
What others say about Paradigms of Artificial Intelligence Programming →
Loved Structure and Interpretation of Computer Programs
Structure and Interpretation of Computer Programs (SICP) by Gerald Jay Sussman and Hal Abelson. SICP is my all-time favourite programming book. It's also where I learned about the power of wishful thinking when coding. SICP uses wishful thinking as a design tool: write code as if the abstraction already existed. Pretend. Then, once the ideal abstraction has taken shape, you go ahead and implement those functions. This meta-level is what made SICP so valuable. Ultimately, it's a book that teaches how to think about code and problem solving. I'm tempted to even say that SICP is more a work of art than a pure coding book, but I won't go there. A beautiful book.
adamtornhill.substack.com 11 Aug 2026
What others say about Structure and Interpretation of Computer Programs →
Loved Smalltalk Best Practice Patterns
Smalltalk Best Practice Patterns. True, Kent Beck is better known for his later work, which is excellent too. But Smalltalk Best Practice Patterns is particularly strong on coding style. I learned a lot by just reading the code examples. Small tweaks to names and abstractions add up. No one captures that better than Kent.
adamtornhill.substack.com 11 Aug 2026
Where they publish
Site adamtornhill.com His site: his books, talks and software-analysis research.
Link verified 5 Sept 2026.
Newsletter Code for Humans and Machines His newsletter on code quality, patterns and coding in the agentic era.
Open adamtornhill.substack.com
Link verified 5 Sept 2026.
x.com @AdamTornhill His X account.
Recent
- Coding is dead, they say. But what if code is part of the solution? In AI-first workflows, inspectable code still matters as a way to communicate intent to agents through executable specs and tests. 11 Nov 2026 adamtornhill.substack.com
- Occasionally, LLM interactions become hilarious. Context: I'm writing an article on why I don't want to use AI as a rapid-feedback editor. And when I try it, this happens 👇 5 Nov 2026
- What's the cognitive cost of running five coding agents in parallel? My new article explores the human consequences of trying to balance multiple focus tasks. I mean: what could possibly go wrong? 28 Oct 2026 adamtornhill.substack.com
Show 17 more
- A decade before any Claudes or Copilots, research showed that coding represented just 5% of our work week. So why do so many miss it so much? Probably because agents automated a disproportionately fun part. Few enjoyed digging through walls of code or chasing colleagues to understand how a feature worked. But coding? Everyone loved that. Interestingly enough, I haven’t really missed it. In my new post I explain why, and look at the developer skills that transfer to agentic coding. 16 Oct 2026 adamtornhill.substack.com
- This is the first 400x task I've experienced: refactoring 300k LoC. My new article covers the strategy behind this large-scale refactoring: coding agents iteratively learn how to improve code as they go. 6 Oct 2026 adamtornhill.substack.com
- Getting ready for my new masterclass tomorrow at @GOTOcon in Copenhagen. 28 Sept 2026
- Poor encapsulation creates excessive coupling, turning what should be a local change into shotgun surgery. My latest article looks at such dependencies as a multi-dimensional problem: 25 Sept 2026 adamtornhill.substack.com
- Some phishing attempts are entertaining: “Founder & CTO for an established business.” I’d expect AI to do better. 22 Sept 2026
- Test-Driven Development (TDD) has been my default programming mode for 25 years. TDD simply made me a better developer. It’s been invaluable. However, the time has come to bid farewell. TDD didn’t survive my transition into AI-native development: forcing an agent through increments optimized for human cognition negates many of the benefits. Dropping TDD feels like a drastic step. But it’s similar to what happened years earlier as I went all in on Clojure. I had to adapt my habits and workflows to a new context in order to take advantage of it. My new essay reflects on my decades as a TDD prac… 10 Sept 2026 adamtornhill.substack.com
- Large parameter lists that rely on positional string arguments are a weak interface for both humans and coding agents. Yet they’re just a symptom. More often than not, the root cause is a function that does way too much. In my new post, I explore the problem and walk through a refactoring that encapsulates data and behavior in explicit domain concepts. 8 Sept 2026 adamtornhill.substack.com
- The main difference with AI coding is that I no longer focus on individual building blocks. Rather, agents allow me to iterate on the whole system at the feature level. That characteristic is where the bulk of agentic coding gains come from. 3 Sept 2026
- Lambda functions optimize for writing code at the expense of reading code, which is arguably a much more frequent activity. 1 Sept 2026
- Understanding code we didn’t write ourselves is one of the hardest parts of software engineering. If we approach agentic coding the way we tackle manual coding, we’ll turn ourselves into legacy code maintainers. That’s unlikely to speed up anything. 26 Aug 2026
- A question like ”do we still need to read AI generated code” is pointless in isolation. The answer depends on the task, and more specifically on the uncertainty inherent in each type of task. 🧵 25 Aug 2026
- What are the top 5 programming books that changed how I think about code? The litmus test is: Did the book a) change my coding style, and b) was it a sustainable change that made a positive difference? Check out my list here: 12 Aug 2026 adamtornhill.substack.com
- I made a conscious effort to unplug during my vacation. Coming back, I noticed the lovely new Substack feature: Scan for AI text. Coincidentally, I had updated the About section for my Substack a while back with some notes on what my blog is *not*: "## What this isn’t Content creation isn’t my job. I write these articles because I a) love to write, and b) care deeply about our profession. It’s a fun hobby, not a job. Consequently, I don’t feel any pressure to publish on a schedule. I’d rather publish less and maintain a higher quality bar. So far, that has worked out to roughly one article pe… 10 Aug 2026
- Naming in software goes way beyond any aesthetics. Strong names sharpen our thoughts in the moment, as well as supporting our future selves *and* any coding agent trying to make sense of what’s already there. Here's my take: 29 Jun 2026 adamtornhill.substack.com
- One of the worst things you can do to your code is to hide a design decision. A common example is compressing design decisions into a boolean. A boolean parameter looks harmless. It is just one extra argument. 👇 16 Jun 2026
- The main problem with many function arguments isn't the number of arguments per se. Rather, it's why a method needs all those arguments. 10 Jun 2026
- After building both AI-native products and extending mature codebases, I wanted to capture the recurring design patterns in a more memorable form. The goal is to design codebases that are safer for agents to evolve and cheaper for humans to verify: 9 Jun 2026 adamtornhill.substack.com
Link verified 5 Sept 2026. Recent items update automatically from the channel.
About the English under a post
Some people here publish in a language other than English. Where they do, this site shows a machine translation beneath the post, in this typeface — the site's own, not theirs.
The post itself is never changed, moved or hidden: what is set in the serif above is exactly what the person published, and it is what to quote them on. A translation can be wrong in ways that matter, especially about tone.
Only the post's own words are translated. A quoted post, a linked article and a belief on korrents.com are left in their original language.



