Speaker Notes

DHH’s new way of writing code

DHH explains how adopting frontier coding agents and terminal agent harnesses fundamentally accelerates software development, shifting the developer's role toward high-level architectural oversight and code review.

The Pragmatic Engineer · 1:47:21 · YouTube ↗

Interview · 2 hosts + guest  Intermediate · engineering philosophy and tooling

Highlights

10 clips · 14 min of 107 min
    • Ruby on Rails offers high token efficiency for modern AI agent workflows.
    • Agent-generated code must remain readable and verifiable by humans.
    • Scratching personal itches often resonates deeply with a broader community.
    • Designers at 37signals act as product managers, finding the 'how' and 'why' through intuition and feedback.
    • They implement directly in CSS and HTML to deeply understand the medium's limits.
    • Knowing the physical properties of your materials leads to structurally sound creations.
    • Inline autocomplete constantly interrupts human thought processes before a thought is finished.
    • Frequent wrong suggestions turn potential acceleration into an annoying nuisance.
    • This style of coding tool risks creating a robotic and diminished developer experience.
    • Inline autocomplete tools constantly interrupt the developer's train of thought.
    • Constantly guessing the next token feels like an annoying nuisance rather than true acceleration.
    • Transitioning from basic chat to agent harnesses with terminal access changed the utility of AI.
    • Opus-class models consistently produce high-quality code that requires minimal manual alteration.
    • Senior engineers excel at validating and redirecting agent-generated code using deep architectural insight.
    • Agent acceleration disproportionately benefits senior developers who can audit and fix code safely.
    • Using agents to analyze and clean-room implement pull requests slashes review time dramatically.
    • A backlog of hundreds of PRs can be triaged and handled in a fraction of traditional time.
    • AI agents allow teams to tackle ambitious projects they would never have contemplated before.
    • Engineers can now fix performance edge cases like P1 latency floors that were previously considered too costly.
    • Small teams can ship multiple PRs and thousands of lines of optimized code in just a few days.
    • Complex, high-criticality tasks like dual-boot partitioning can be safely explored by letting models ping-pong plans.
    • Using AI to critique and iterate on architectural plans lowers the barrier to taking on risky technical hurdles.
    • Job applications are not a lottery; a massive percentage are filtered out immediately for not following instructions.
    • Passing initial screens narrows the pool down to a small cohort given practical at-home tests.
    • Supervising high-speed AI agents triggers a hyperactive dopamine loop that can lead to overwork.
    • Developers must remember that AI capability is a permanent shift, not a limited-time sale to be rushed through at the expense of health.

Questions this video answers

12 · every answer cites the moment it was said
01 Why did 37signals switch developer workstations to run a custom Linux distribution? 2 sources · 7:56

The company wanted developer workstations to closely match their production environments, which have always run on Linux. Additionally, having the entire technical team use the custom distribution helps gather more hands and contributions for the open-source project.

02 How did the launch of the Hey email service unfold regarding Apple's App Store policies? 2 sources · 12:07

Apple initially refused to approve the app unless 37signals paid a thirty percent toll fee, which could have been a death sentence for the mobile-dependent service. After a tense two-week standoff coinciding with WWDC, Apple allowed the app through and gave it massive publicity, resulting in tens of thousands of signups.

03 What is distinctive about the role of designers at 37signals? 2 sources · 23:27

Designers at the company are not restricted to just creating visual specs; they also act as product managers by figuring out what to build. Furthermore, they are responsible for implementing their designs directly using CSS, HTML, and sometimes JavaScript or Ruby code.

04 Why does DHH believe aesthetics and correctness are fundamentally linked? 2 sources · 28:33

He argues that when something possesses the correct aesthetic quality, it reflects an underlying truth and correctness, much like in mathematics or physics. Surrounding people with beautiful, well-functioning objects and interior code quality directly increases human happiness and reduces everyday frustration.

05 What caused your inflection point in adopting AI coding agents? 3 sources · 37:36

The shift happened when terminal agent harnesses gave AI tools like bash and internet access, combined with Opus's surprisingly high-quality output. This transition moved AI from a conversational novelty to a reliable partner that produced mergeable code, leading to an agent-first workflow.

06 How has your daily development workflow changed with agent harnesses? 2 sources · 47:26

Daily work now starts agent-first on almost everything, using terminal layouts running models like Kimi and Opus in parallel panes. Instead of writing code from scratch in the editor, agents generate drafts that get reviewed and selectively altered via version control diffs.

07 How are senior developers benefiting more than juniors from coding agents? 2 sources · 55:55

Senior developers possess the long architectural insight and historical overview needed to critically examine agent output and ensure quality before deployment. Because they can effectively validate code and direct multiple agents, their individual productivity is amplified by five to ten times.

08 How do agents change how you handle low-priority hunches and backlog tasks? 2 sources · 1:05:32

Agents drastically lower the cost of exploring speculative ideas, allowing developers to process hundreds of pull requests or test edge-case hunches in minutes. This explodes the scope of potential improvements, enabling teams to tackle performance enhancements or features they would have otherwise skipped entirely.

09 How can developers use agents for complex, risky tasks like setting up dual-boot? 1 source · 1:12:03

Developers can have different AI models pingpong back and forth to formulate and critique a safe execution plan before touching any critical partitions. In this workflow, one model generates the initial plan while another critiques it until a solid blueprint is reached. This removes personal friction and operational risk from complex multi-step system tasks.

10 Why does the speaker believe the software industry has reached peak programmer? 2 sources · 1:16:45

The traditional high salaries and leverage of programmers stemmed from them being the primary implementation bottleneck in building software. As coding agents make implementation faster and more accessible, that scarcity-driven constraint is loosening. Consequently, the industry is shifting toward product management skills, communication, and overall system oversight.

11 What is the best strategy for getting hired or advancing when stuck at a poor workplace? 2 sources · 1:30:17

Employees should consistently show up and do their absolute best work even if they consider their current workplace suboptimal. Trying to coast or slack off hurts your own skill development and ruins future warm referral opportunities from colleagues who noticed your work ethic. True professional longevity requires practicing your craft relentlessly regardless of the environment.

12 How do you avoid burnout while working with fast-moving AI coding agents? 2 sources · 1:38:22

Working with responsive coding agents can trigger an intoxicating dopamine loop that tempts developers to overwork themselves. To combat AI-induced burnout, developers must protect their fundamental health habits, particularly by prioritizing a full eight hours of sleep. Treating AI productivity as a permanent capability rather than a limited-time sale prevents developers from running ragged.

Section-by-section summary

21 parts

AI acceleration drives ambitious engineering projects

AI tools enable small teams to tackle optimization and new product ideas they would have never contemplated previously. DHH shifted from early skepticism to fully adopting an AI-first approach.

Scratching your own itch drives product creation

Building custom tools like the Umachi Linux distribution from scratch proves that personal utility resonates widely with other developers. Novelty matters less than bringing a distinct personal perspective.

Aligning developer workstations with production

37signals mandates Linux for all technical staff to match deployment environments and foster hands-on familiarity. This policy also bootstraps real-world testing for their in-house Linux distribution.

Launching disruptive products against entrenched monopolies

Creating alternatives like Basecamp and Hey against dominant incumbents requires a strong product vision and surviving high-stakes platform battles. Counter-positioned philosophies consistently outperform generic clones.

Small teams and multi-hat designers accelerate discovery

Products begin with a tiny team iterating on core functionality before scaling up. Designers who also act as product managers and implementers natively understand the fabric of their medium.

Aesthetics and correctness are fundamentally linked

Beautiful, well-functioning systems reduce cognitive anxiety and reflect correct underlying architecture. Striving for craftsmanship in both interior and exterior code quality elevates human happiness.

Chat models outperform intrusive inline autocomplete

Early inline autocomplete tools frequently interrupted human thought processes and felt like a nuisance. DHH prefers using chat and agent models as dedicated tutors rather than disruptive co-pilots.

The inflection point of agent harnesses and Opus

The breakthrough arrived with agent harnesses capable of executing terminal commands combined with frontier models that produce high-quality, mergeable code. This shifted the utility of AI from annoying autocomplete to fully capable coding agents.

Adopting an agent-first daily development workflow

Daily development now starts with agents executing tasks in parallel panes while the engineer reviews git diffs and makes selective edits. This multi-model setup drastically changes how code is drafted and refined from scratch.

Pushing autonomy toward browser-based agents

Experiments with fully autonomous agents show they can independently navigate websites, sign up for services, and communicate with teams. This points to a future where agents require zero setup accommodations and operate like human colleagues.

Senior developers gain massive individual leverage

Senior engineers experience a massive productivity multiplier because they possess the architectural overview required to review and correct agent output. Conversely, junior developers face a more tenuous role when inexperienced code cannot safely reach production.

Parallels to self-driving car capability breakthroughs

The rapid capability jump in AI mirrors the trajectory of autonomous driving systems like Tesla FSD, which evolved quickly past initial limitations. While predicting future milestones is difficult, the compounding improvements follow a similar aggressive curve.

Reviewing one hundred pull requests in ninety minutes

Running agents transforms the experience from traditional project management into a super-mech-suit effect that supercharges output. Processing a massive backlog of pull requests becomes vastly faster when an agent can clean-room implement fixes on command.

Exploring low-priority hunches and complex edge cases

The drastically reduced cost of experimentation allows developers to tackle neglected problems like extreme performance tuning or risky partition setups. This expands the scope of what projects teams are willing to pursue.

Mastering existing tooling resembles vintage computer mastery

Even if model improvements plateau, developers will spend the next decade learning to extract more value out of current architectures. This mirrors how retro computer platforms saw massive technical leaps decades after release simply through deep accumulated mastery.

Peak programmer and the shift in developer constraints

As implementation becomes automated, the industry may have seen peak programmer in terms of salaries driven purely by being the primary bottleneck. Software development as a cost center will face immense pressure, shifting the core constraint value toward product management and problem definition.

Hiring rigor and the myth of easy recruitment

Hiring great engineering talent remains notoriously difficult despite sorting through thousands of applications. A large portion of candidates are immediately disqualified for failing to follow basic instructions, while warm referrals consistently yield the highest long-term success rates.

Showing up matters regardless of the workplace quality

Cruising or slacking off at a mediocre job hurts your own professional growth and future recommendations. Honing your craft and doing your absolute best builds the skills and reputation necessary when real opportunities arise.

A deep love for computers drives lasting longevity

The era of succeeding in tech without caring about programming outside of work hours is coming to a close. Sustainable career longevity and enjoyment stem from a genuine, lifelong fascination with playing with computers and building systems.

Protecting sleep and health against AI-induced burnout

Trading away sleep or physical health to squeeze in extra hours of agent supervision is terrible math that destroys long-term cognitive capacity. Maintaining strict boundaries around rest ensures sustainable productivity over a decade-long technological wave.

Intrinsic motivation and the true purpose of building

Wealth is not a checkpoint for permanent leisure, which psychological studies show leads to misery and a lack of purpose. A deep love for computers and the intrinsic satisfaction of creation are what truly drive experienced builders to keep shipping.

0:00 / 1:47:21
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • Ruby on Rails8× · first 1:06

    A token-efficient web application framework created by DHH that is well-suited for agent workflows.

  • Umachi6× · first 2:44

    A custom Linux distribution built by DHH on top of Arch and Hyprland.

  • Agent harnesses5× · first 34:33

    Terminal interfaces that give AI models tools like bash and internet access to write code.

  • Unix philosophy1× · first 51:45

    The design principle of building small tools that interoperate cleanly via pipes and commands.

  • Open Code5× · first 41:45

    A terminal agent harness used to run and manage frontier AI coding models.

  • P1 optimization5× · first 0:29

    Optimizing the absolute fastest 1 percent of requests using coding agents as a side project.

  • Peak programmer2× · first 1:17:13

    The historical maximum of developer leverage and compensation driven by labor scarcity.

  • Vintage computers1× · first 1:13:44

    Older hardware systems whose performance limits are pushed much further over decades through deep technical mastery.