scripod.com

DHH’s new way of writing code

Shownote

Brought to You By: • Statsig [http://statsig.com/pragmatic] — ⁠ The unified platform for flags, analytics, experiments, and more. • Sonar [https://www.sonarsource.com/pragmatic/?utm_medium=paid&utm_source=pragmaticengineer&utm_campaign=ss-ai&utm_content=podcast-sonar-ai-lp&utm_term=ww-all-x&s_category=Paid&s_source=Paid%20Other&s_origin=pragmaticengineer] – The makers of SonarQube, the industry standard for automated code review • WorkOS [https://workos.com/] – Everything you need to make your app enterprise ready. — David Heinemeier Hansson (DHH) is the creator of Ruby on Rails and Omarchy, co-founder and CTO of 37signals [https://37signals.com/] (maker of Basecamp and HEY), and the author of several books including the best-seller, Remote: Office Not Required [https://www.amazon.com/Remote-Office-Required-Jason-Fried/dp/0091954673], co-written with Jason Fried [https://world.hey.com/jason]. Six months ago, in an episode of the Lex Fridman podcast [https://lexfridman.com/dhh-david-heinemeier-hansson], David shared how he doesn’t use AI tools to write code: he types out all his code. But things have changed a lot since then.  In this episode, we discuss his approach to building software, how it’s changed in the last six months, and why he now takes an agent-first approach, and how he barely writes any code by hand. We go into how he uses AI agents: which alter how he builds and explores ideas, but also how his standards of quality and craft remain the same. We also discuss how 37signals thinks about product development, from the role of designers to the importance of aesthetics and taste. David gets into how he sees beauty and functionality as closely linked, and why strong opinions about design lead to better software. Finally, we look into the uneven impact of AI which amplifies senior engineers while creating challenges for junior developers, and what this may mean for the role of the software engineer. — Timestamps (00:00) Intro (02:11) Omarchy and Ruby on Rails (08:25) 37signals overview (10:12) Launching HEY (18:38) Building HEY (22:47) Designers at 37signals (28:08) The craft of design (31:52) Why DHH now embraces AI workflows (39:45) The AI inflection point (44:23) DHH’s agent-first workflow (55:09) AI’s impact on junior developers (1:03:08) Developer experience with AI (1:16:43) What does AI mean for developers? (1:23:33) 37signals teams and hiring (1:38:20) Work-life balance with AI (1:41:41) Why DHH keeps building (1:45:24) Closing — The Pragmatic Engineer deepdives relevant for this episode: • Are AI agents actually slowing us down? [https://newsletter.pragmaticengineer.com/p/are-ai-agents-actually-slowing-us] • How Claude Code is built [https://newsletter.pragmaticengineer.com/p/how-claude-code-is-built] • The future of software engineering with AI: six predictions [https://newsletter.pragmaticengineer.com/p/the-future-of-software-engineering-with-ai] • The AI Engineering Stack [https://newsletter.pragmaticengineer.com/p/the-ai-engineering-stack] • Mitchell Hashimoto’s new way of writing code [https://newsletter.pragmaticengineer.com/p/mitchell-hashimoto] • How Linux is built [https://newsletter.pragmaticengineer.com/p/how-linux-is-built-with-greg-kroah] with Greg Kroah-Hartman — Production and marketing by ⁠⁠⁠⁠⁠⁠⁠⁠ [https://penname.co/]https://penname.co/⁠⁠⁠⁠⁠⁠⁠⁠ [https://newsletter.pragmaticengineer.com/p/engineers-leading-projects]. For inquiries about sponsoring the podcast, email podcast@pragmaticengineer.com. Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe [https://newsletter.pragmaticengineer.com/subscribe?utm_medium=podcast&utm_campaign=CTA_4]

Highlights

David Heinemeier Hansson reflects on his dramatic shift from typing every line of code to embracing an agent-first development philosophy—six months after publicly rejecting AI coding tools.
00:00
DHH built a Linux distribution called Omarchy using AI assistance
02:17
Ruby on Rails was born out of building Basecamp with Ruby in 2003 when there was little web-app tooling for Ruby
08:25
Basecamp was their best business idea and has thrived for over 20 years
12:56
HEY's screener allows users to control who can reach their inbox
21:35
At 37signals, designers are product managers and builders
25:55
Aesthetics is truth—well-designed objects contribute to happiness while poorly designed ones cause anxiety
28:22
Beautiful things can improve human happiness
34:52
GPT-4.5 produces high-quality output that often requires little to no alteration
39:48
Decision-makers returned in January and mandated AI use across teams
49:09
AI agents autonomously signed up for HEY, Fizzy, and Basecamp without human assistance
1:00:36
Work and job satisfaction are changing for software engineers at 37signals, and their view on running AI agents has shifted from reluctance to enjoyment
1:10:47
Even if AI model improvement hits a wall, people could spend decades learning to use existing tools better
1:16:43
The average programmer may face price pressures, especially in cost-center software development
1:34:08
Working with AI has made programming more enjoyable, similar to the feeling of discovering Ruby in the early 2000s
1:40:57
Would spend eight hours a day on computers, a passion since age five, whether for economic reasons or not
1:44:08
AI may make good judgment more valuable
1:45:27
Developers may no longer command high compensation just for being a bottleneck

Chapters

Intro
00:00
Omarchy and Ruby on Rails
02:11
37signals overview
08:25
Launching HEY
10:12
Building HEY
18:38
Designers at 37signals
22:47
The craft of design
28:08
Why DHH now embraces AI workflows
31:52
The AI inflection point
39:45
DHH’s agent-first workflow
44:23
AI’s impact on junior developers
55:09
Developer experience with AI
1:03:08
What does AI mean for developers?
1:16:43
37signals teams and hiring
1:23:33
Work-life balance with AI
1:38:20
Why DHH keeps building
1:41:41
Closing
1:45:24

Transcript

Gergely Orosz: How has the creator of Ruby on Rails changed how he builds software now with AI agents? David Heinemeier Hansson, often referred to as DHH, created Ruby on Rails, Omarchy, and is the co-founder of 37signals. He bashed capabilities of AI codi...