UNEXPECTED-LESSONS COURSE GUIDE

Unexpected Lessons After 15 Years of Coding

A chapter-by-chapter readback of the free course by Theo - t3․gg on Theo - t3․gg.

Length43:05
Chapters17
Modules5
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

Theo reacts to a viral 'advice to my younger self' article, adding 15 years of first-hand war stories from Twitch, Amazon, and his own projects. The angle isn't syntax — it's judgment calls: fix footguns, delete dead code, ship fast, and ask more questions.

Who it's for
Read this guide if
  • You're an early-career developer deciding how much rigor to apply on the job
  • You've been burned by arbitrary code-coverage thresholds or slow CI pipelines
  • You struggle to ask 'dumb questions' at work
  • You want practical debugging habits like git-history archaeology and state-repro tooling
Skip ahead if
  • You want a step-by-step tutorial with code you can copy
  • You're looking for a single framework or language deep-dive
  • You only want timeless computer-science theory, not workplace opinions
In brief
  • Video runs 2585 seconds (~43 minutes) on the Theo - t3․gg channel.
  • 15 chapters grouped into 5 chronological modules.
  • Tools discussed include ESLint, Prettier, Prisma, NeoVim, VS Code, git bisect, Vercel, and OpenTelemetry.
  • Level: suited to junior-to-mid developers; senior leads benefit from the onboarding and team-culture sections.
  • Format: Theo reacts to and expands on a written advice article, with anecdotes from Twitch, Amazon, and his own products.

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

Fixing Footguns, Fast Performance, and Reading Codebases

0:00

Introduction

Theo introduces the video as the closest thing to a 'what would I do differently' retrospective, based on an advice article he reads and reacts to on stream.

0:49

Fix the Gun, Not the Shooter

If a system has footguns, change the system so the mistake is hard to make. A ~10-minute fix to an iOS Core Data subscription layer, forcing callbacks onto the main thread, eliminated an entire class of crashes.

2:13

Parallelize Independent Work

A slow app with a huge cloud bill had five sequential Prisma calls per endpoint with no data dependencies; combining them with Promise.all gave a 4x speedup.

3:33

Big Formatting PRs and the PR Tab

Theo describes landing a ~100,000-line formatting/linting PR when onboarding, then argues the best way to learn a codebase is reading pull requests, since most code goes untouched for years.

Onboarding Insights and Calibrating Quality

5:15

Listen to New Developers

New devs notice what's odd before it becomes normalized, so leads should carefully gather their first-week impressions. Theo also notes the risk that newcomers just push for what they know, and how building allies helped him raise standards across 20+ codebases at Twitch.

7:50

Match Rigor to Stakes

Choose your trade-off between shipping speed and confidence in correctness based on context. Software where failure is a slightly slower emoji should be written differently from software where failures kill people.

10:00

When Coverage Rules Hurt

Stories from high-stakes finance products and Twitch show how reliability requirements should vary by product. An 80-90% coverage rule made a 100k-line dead legacy feature undeletable, leading Theo to argue any threshold below 100% is nonsense.

Tooling, Complexity, and Debugging One Layer Deeper

13:06

Sharpen the Axe

Being fast at renaming, finding references, and knowing your editor, shell, and dev tools is a green flag. Theo praises NeoVim enthusiasm but rejects shaming VS Code users, having happily switched himself.

14:58

Incidental vs. Essential Complexity

If you can't explain why something is difficult, it's probably incidental complexity worth removing — a reason Theo likes React's abstractions.

16:19

Solve Bugs One Layer Deeper

Instead of patching symptoms like a null-user Sentry error with guards, fix the underlying cause, such as reordering two state updates in a logout function.

17:28

Debugging with Git History

Git archaeology found a Rust memory leak caused by an async token-fetch loop added with Play Store payments. Theo covers when intuition says to use history, plus git bisect and auto-deploying from GitHub to identify breaking commits.

Deploy Early, Ship Real Feedback, and Build Debug Tooling

20:07

Learn Git Early and Deploy First

Knowing git basics removes fear of changing code. Theo tells a story of debugging a stuck Vercel deploy in ~10 minutes by deploying a clean project first — reinforcing 'make it deploy, then make it useful.'

22:03

Simple Scales; Fast Code Gives Feedback

Over-engineered 'best practice' code can bankrupt a startup before launch. Simple architecture usually scales better, and writing code quickly — even imperfectly — generates the feedback needed to learn, unlike projects such as the Ladybird browser that rarely ship.

25:25

Invest in Reproducibility

The article's author built extensive state-repro tooling for his chess service: local data copies, OpenTelemetry tracing, a pseudo-REPL scratch file, and debug settings. Theo shares his own dev-mode query param and argues that if over half of debugging time is setup, invest in fixing that.

Dumb Questions, Market Worth, and Shipping as a North Star

29:30

The Dumb Questions Rule

New engineers should ask at least one dumb question daily, because insecurity keeps most people silent and others share the same question. Theo shares how a 'dumb question' once turned hours of blockage into a two-command fix.

34:14

Interview Often to Know Your Worth

Companies make promotion deliberately hard, so your real level is revealed by outside offers. Theo advises interviewing at least every six months — and interviewing others too, since avoiding it bottlenecks your career.

40:52

Ship Fast as a North Star

Shipping quickly requires compounding speed: cutting the 10% of a spec that takes half the time, reusable composable patterns (why React won), easy deploys, and avoiding flaky tests and slow reviews. Theo agrees shipping slowly deserves a postmortem just like breaking production.

Moment by moment

TimeWhy it matters
4:03The Promise.all story: a 4x speedup from parallelizing five independent Prisma calls.
11:21The dead 100k-line feature that coverage thresholds made impossible to delete.
18:02Git history pinpoints a Play Store payments change as the cause of a production memory leak.
31:02A 'dumb question' solved hours of blockage with a two-command fix in ~30 seconds.
42:21The spicy take that shipping slowly should merit a postmortem like breaking production does.

Do this next

  1. Audit one project this week for footguns — pick a recurring mistake and change the system so it's hard to make again.
  2. Try debugging a mystery with git history or git bisect instead of guessing: find the commit where the problem started.
  3. Adopt the dumb-questions rule: ask at least one question a day during your next onboarding or unfamiliar-codebase sprint.

Common questions

Is this a coding tutorial or a career-advice video?

Neither exactly — it's a commentary piece. Theo reacts to a written 'advice to my younger self' article, adding stories from Twitch, Amazon, and his own projects about judgment, debugging, and shipping.

What does Theo say about code coverage rules?

He argues the only acceptable coverage number is 100%, and any threshold below that is nonsense. He illustrates with a story where a coverage rule prevented deleting a fully replaced 100k-line legacy feature.

What does 'solve bugs one layer deeper' mean?

Rather than adding guards to silence a symptom (like a null-user error), fix the root cause — for example, reordering two state updates in a logout function so the invalid state never occurs.

What is the 'dumb questions rule'?

New engineers should ask at least one dumb question per day during their first week or two. Most people share the same unvoiced questions, and asking surfaces problems so they get fixed.

Spot a mistake?

Every chapter summary on this page is hand-checked against the video, but we're human too. If you spot an error in a timestamp, summary, or fact, let us know and we'll fix it.

More course guides