Adam Tornhill (@AdamTornhill) header
Adam Tornhill (@AdamTornhill) profile picture

Programmer, psychologist, Lisp hacker, author and speaker. Founder of https://teapawt.net/t.co/Cw359XXEZK

Sweden
Joined June 2013
Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)Photo by Adam Tornhill (@AdamTornhill)
I’ve spent the past year on a second edition of Your Code as a Crime Scene. I’m proud to announce that it’s now available as a Beta from @pragprog Updated techniques, novel case studies, and plenty of new material on the intersection of people and code: pragprog.com/titles/atcrime2…
1
20
84
23,152
Software is hard enough as it is, so I've always strived to gain any edge I could. That was one of my motivations for exploring and learning various programming languages in the pre-AI days. 🧵
1
2
11
1,361
Now agents give us a better opportunity than ever to reconsider our tech choices. My take is that we should. We should look for languages that best fit an agentic workflow.
1
3
304
My new article covers my explorations, the trade-offs I faced, and how I ended up with Clojure. Specifically, I want a language that works for both the agents writing the code and the human steering them. Read it here: adamtornhill.substack.com/p/…
1
4
320
Adam Tornhill retweeted
Fragments: healthy code is cheaper to review, why the Huang saga is important, slow down with software factories, the future of SaaS, corrigibility for agents, Meta's AI agent sues Meta martinfowler.com/fragments/2…
11
20
1
183
19,849
Adam Tornhill retweeted
It's Monday. Golden Age is almost three-quarters funded! We have 9 days to go. If you want a new mag made by the people who made these classic 80s/90s publications, toddle on over to Kickstarter and gi's sum munny. Also, check out our free issue 0 PDF! kickstarter.com/projects/267…
4
24
105
3,356
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. adamtornhill.substack.com/p/…
1
3
378
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 👇
1
1
6
464
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? adamtornhill.substack.com/p/…
1
3
10
707
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. adamtornhill.substack.com/p/…
2
5
13
815
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. adamtornhill.substack.com/p/…
3
1
10
652
Adam Tornhill retweeted
Or just use Clojure. You don't need hot-reloading tools, the language itself allows you to incrementally build a running program, like any good Lisp. 🔥
4
13
2
159
5,726
Adam Tornhill retweeted
Controversial, but good debate: Agentic coding will force you to say farewell to Test-Driven Development (TDD) - red/green/refactor
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 practitioner, as well as the agentic characteristics that made me abandon the technique. adamtornhill.substack.com/p/…
2
1
2
701
Getting ready for my new masterclass tomorrow at @GOTOcon in Copenhagen.
4
264
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: adamtornhill.substack.com/p/…
1
251
Adam Tornhill retweeted
The practice of sticking all C# extension methods in a top-level folder called Extensions needs to get in the bin 😔. Grouping code by the implementation mechanism is just weird. We don’t put all abstract classes in a folder called Abstracts, or have a Statics folder 🤷‍♂️.
1
5
216
Some phishing attempts are entertaining: “Founder & CTO for an established business.” I’d expect AI to do better.
1
3
241
Func Prog Conf 2026 is gonna be lit! Both @enigma2a and @AdamTornhill are speaking. And we're hosting a warmup #Clojure Café the night before, with Arne Bresseur speaking (probably about Janet Lang). funcprogconf.com/
1
1
2
7
1,463
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 practitioner, as well as the agentic characteristics that made me abandon the technique. adamtornhill.substack.com/p/…
56
45
14
640
111,666
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. adamtornhill.substack.com/p/…
545