David Heinemeier Hansson
Code, Cars, and Creativity
DHH, creator of Ruby on Rails and cofounder of Basecamp and HEY, made “developer happiness” mainstream by privileging convention over configuration. A Le Mans–winning racer and opinionated essayist, he argues for calm companies, small teams, and boring tech that compounds. His code and philosophy reshaped how startups ship software.
- 17 min listen
- Ruby on Rails
- Basecamp
- Le Mans
David Heinemeier Hansson’s full 17 min audio biography, Code, Cars, and Creativity, is available on Lyfestori for iOS. Listen to a free preview below.

A life in brief
The shape of a life.
He never studied computer science. Working on a project management tool for a small Chicago design firm in 2003, David Heinemeier Hansson got frustrated with the tools for building web applications and pulled the patterns out of his own code into a framework. Ruby on Rails went out free in July 2004 and now runs GitHub, Shopify and Airbnb. 37signals, the company it came from, took no venture capital, stayed deliberately small, and gave staff four-day summer weeks. He also races at Le Mans.
- 1979
Born in Copenhagen
Born 15 October in Denmark — a country sceptical of excessive capitalism, focused on quality of life over economic growth, and direct to the point of bluntness. All three become part of how he works. As a boy he is drawn to computers, and to fast cars.
- 2003
Building Basecamp
He is working on a project management application for 37signals, a small Chicago web design company founded by Jason Fried. The available frameworks frustrate him: too complex for simple applications, too limited for sophisticated ones.
- 2003
Extracting a framework
He begins pulling the common patterns out of the Basecamp code and organising them into something reusable, built on Ruby — the language Yukihiro Matsumoto designed to be enjoyable to write. He calls it Ruby on Rails, and builds it around Convention over Configuration and Don't Repeat Yourself.
- 2004
Rails goes open source
Released free in July. Developers who had been fighting complex, time-consuming tools suddenly have a framework that makes web applications fast and pleasant to build. The response is immediate — helped by his own demonstrations, including a famous video building a blog in fifteen minutes.
Major achievements
What David Heinemeier Hansson gave the world.
- 01
Ruby on Rails
Released free in July 2004 and extracted from a real application. It built in database operations, generated common code patterns automatically, and shipped serious testing tools. GitHub, Shopify and Airbnb are built on it.
- 02
Convention over Configuration
The framework makes reasonable assumptions about how you want your application structured, so you never write configuration to state the obvious. Together with Don't Repeat Yourself, it spread far beyond Rails into how programmers think generally.
- 03
Basecamp
A tool that does a few things extremely well rather than hundreds badly, funded by customers paying monthly rather than by investors. It has stayed profitable and independent — a working proof that a software company can simply decline venture capital.
- 04
Getting Real and Rework
Co-authored bestsellers arguing that most business advice is wrong, and that companies can be built on simplicity, profitability and customer satisfaction instead of growth and investor money. They reached a generation of entrepreneurs who had never heard of Rails.
- 05
Racing at Le Mans
He competes in sports car racing at the highest levels, including the 24 Hours of Le Mans, driving for professional teams — while running a software company, which is rather the point he is making.
Turning points
The moments that decided it.
- Growing up in Denmark
A different default
Denmark's scepticism toward excessive capitalism and its preference for quality of life over pure economic growth became the spine of his business philosophy. So did Danish directness — say what you mean, skip the unnecessary politeness — which served him unusually well in the diplomatic world of Silicon Valley.
- Early 2000s
Self-taught, freelance
He never studied computer science, learning instead through practice and experimentation — and stayed sceptical of formal education ever after. Freelancing on the early commercial web meant writing enormous amounts of repetitive code to build even simple sites. That frustration was the raw material: he decided programming should be enjoyable and that nobody should write the same code twice.
- 2003–2004
Extracting Rails from Basecamp
Rather than design a framework in the abstract, he pulled the patterns out of an application that already worked, built on Ruby because Ruby was pleasant to write. It went out free in July 2004, and the developers who had been suffering answered at once.
- After Rails
Refusing the Silicon Valley deal
Instead of raising venture capital and growing as fast as possible, the company took subscription revenue and stayed sustainable from day one. Four-day weeks in summer, no overtime culture, a small number of features done extremely well. He argued the industry's obsession with growth and disruption was harming workers and society — and built the counterexample rather than only writing about it.
- Throughout
The cost of saying it out loud
He has called social media addiction a deliberate design choice, the gig economy exploitation, and concentrated tech power a danger to democracy. It made him an authentic voice and a lightning rod: public disputes with other tech leaders, and the standing criticism that his model only works for companies like his own.
What you’ll take away
Lessons that outlast the headlines.
- 01
Extract, don't invent
Rails was not designed in the abstract; it was pulled out of a working application. That is why its assumptions were the right ones — every convention had already earned its place in real code.
- 02
Growth is a choice, not a law
Basecamp charged customers instead of raising from investors, and stayed deliberately small. Profitable and sustainable was always on the menu. The industry had simply agreed to pretend otherwise.
- 03
Make the tool respect the person
Convention over Configuration and Don't Repeat Yourself are the same argument twice: a developer's time and intelligence are worth protecting. The same belief produced calm technology and the four-day summer week.
Did you know
Fun facts.
- 01
Did you know that David Heinemeier Hansson, the creator of Ruby on Rails, is also a successful race car driver who competed in the prestigious 24 Hours of Le Mans?
- 02
Did you know that Hansson created the revolutionary Ruby on Rails web framework by extracting common patterns from a project management application called Basecamp?
- 03
Did you know that despite his massive success in the tech industry, Hansson advocates for "calm technology" and his company implemented policies like four-day work weeks during the summer to promote work-life balance?
If you liked David Heinemeier Hansson…
Browse all →Questions
Good to know.
An open-source web development framework David Heinemeier Hansson released in July 2004, extracted from the code of Basecamp. It included built-in database support, automatic generation of common code patterns, and powerful testing tools, making web applications fast and enjoyable to build. GitHub, Shopify and Airbnb are built on it.
That the framework makes reasonable assumptions about how you want your application structured, so you don't write configuration code stating the obvious. Its companion is 'Don't Repeat Yourself' — write code once and reuse it rather than copying similar code around. Both are now standard thinking well beyond Rails.
No. He learned programming through practice and experimentation rather than formal education, and has remained sceptical of traditional educational institutions and their ability to prepare people for real-world challenges — a view that later shaped his positions on hiring in tech.
It refused the standard model. Instead of seeking venture capital and growing as fast as possible, it funded itself from customer subscriptions from the beginning, kept the product deliberately simple, and built policies against overwork — including four-day work weeks in summer. It remains profitable and sustainable.
Yes. He competes in sports car racing at the highest levels, including the 24 Hours of Le Mans, one of the most challenging endurance races in the world, driving for professional teams. He treats it as evidence for his own argument: you can build a successful business and still have a life outside it.
17 min · one sitting
