Daily Digest
Why TDD and AI coding tools exploit the same psychological flaws
Drew DeVault draws a provocative parallel between Test-Driven Development cults and GenAI adoption, arguing both exploit developers' psychological need to feel competent while potentially undermining actual code quality.
- TDD's hidden influence on architecture: While ensuring test coverage, TDD shapes codebases to be "testable" rather than well-designed, and provides no guarantee that passing tests verify the right behavior for actual user needs.
- The dopamine trap of development metrics: Both TDD's green test suites and AI's rapid output create addictive feedback loops through coverage percentages, CI badges, and productivity metrics that make developers feel competent regardless of actual code quality.
- AI coding agents as the new performance theater: GenAI tools let mediocre programmers experience the rush of 10x developer productivity, building "cathedrals" quickly that have beautiful test coverage but rotten foundations underneath.
- The psychological cost of shortcuts: Developers chase these tools despite knowing the externalities (environmental costs, job displacement) because the feeling of finally being "great" at programming overrides long-term concerns.
Latest Articles - Page 26
Understanding the Rust hype for the busy developer
First, let's be clear, this post is not intended to fuel any programming language holy war. I wrote this post because I've sometime been late to understand the benefits of
Notes on the Fourier Transform
The Fourier series is a great tool for analyzing periodic functions. But what about functions that don’t repeat? We’ve seen that we can compute Fourier series for a non-periodic function defined on a
DSLs Enable Reliable Use of LLMs
Unmesh Joshi illustrates how LLMs work very effectively with Domain-Specific Languages (DSL). The constrained nature of DSLs make it easier for the LLM to build code based on natural langu
A place of certainty
My mother is 86, and she is declining. Things that used to be easy for her now seem completely foreign. She was a programmer, writing software before I could read, so it is very strange to see her lik
The discourse about software craftsmanship conveniently ignores last-mile delivery
I've always considered myself a software craftsman. I love clean APIs, efficient code and great user experience. If our entire world is about to be rewritten in Rust governed by
You should probably check on your smart appliances
TL;DR: is your refrigerator running malware? If so, you better catch it!
Fragments: July 13
Some more of my notes from Thoughtworks Future of Software Development Retreat. When we had our first retreat in Utah early this year, nobody had heard of Harness Engineering. This time we had a whole
Control the ideas, not the code
Look at the past history of this blog. There are many blog posts about programming with AI, a few of them date back to January 2024 (like this: https://antirez.com/news/140). I’m a relatively well reg
Even if 90% of AI-discovered vulnerabilities are made up, it's still terrifying
Developers working on popular projets are inundated with hallucinated vulnerability reports, leading people to downplay the risks associated with AI-assisted vulnerability hunting. But hear me out: it