IS-OOP COURSE GUIDE

Is OOP Evil? Reacting to 'OOP is Bad'

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

Length54:49
Chapters19
Modules5
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

This isn't a tutorial but a critical reaction: Theo unpacks Brian Will's argument that encapsulation fails at fine-grained level, then translates it into practical procedural guidelines like pure functions, coarse module-level encapsulation, and long functions with section comments.

Who it's for
Read this guide if
  • You suspect OOP dogma isn't serving your codebase and want a coherent critique
  • You want concrete procedural alternatives, not just complaints
  • You work in TypeScript, Go, or React and notice OO-style shared-state pain
Skip ahead if
  • You want a step-by-step course with exercises
  • You're looking for a defense of SOLID and design patterns
  • You need language-specific syntax instruction
In brief
  • Duration: ~55 minutes (3289 seconds) of reaction and commentary
  • 19 chapters across 5 thematic time-span modules
  • Source video: Brian Will's 'Object-Oriented Programming is Bad' (2016)
  • Level: intermediate — assumes familiarity with classes, encapsulation, and paradigms
  • Tools/discussed: Java, C#, Go, Python, React, Elixir, t3 stack

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.

Framing the OOP Debate

0:36

Introduction: Brian Will's Thesis

Theo introduces Brian Will's 2016 talk 'Object-Oriented Programming is Bad', a minority position arguing OOP doesn't fit any problem, while mainstream education treats OOP as the default.

2:06

What the Problem Actually Is

The critique isn't classes themselves—benign occasional use is fine—but pervasively forcing every function into association with a data type. It's also not about performance or abstraction per se.

6:06

Procedural vs. Functional Programming

The speaker advocates procedural, not functional, programming, though functional style may dominate higher-level code in a decade. The four paradigms are laid out: procedural-imperative, procedural-functional, and OO-imperative.

8:15

Minimize Then Segregate State

The two prescriptions—minimizing state functionally and segregating what remains—are orthogonal and combinable; Theo connects this to serverless functions and Elixir.

Inheritance, Encapsulation, and Java's Rise

10:27

Why Encapsulation Is the Real Target

Inheritance is irrelevant in 2022 and polymorphism isn't OOP-exclusive, so the one real complaint against OOP is encapsulation—which doesn't work when applied at fine-grained level.

11:47

Did Managers Impose OOP?

A theory that management pushed OOP for interchangeable developers and reuse promises, countered by Theo's experience: a functional t3 stack onboarded a new engineer to full productivity within a week.

14:48

Java in the Mid-90s

Java seemed refreshingly simple next to win32 C development, offering readable naming, real namespaces, garbage collection, and mainstreamed exception handling.

18:04

Autocomplete and GUI Comfort

Method autocompletion may largely explain why OOP APIs feel easy to use, and in the GUI heyday mapping components to classes seemed natural. Java likely would have succeeded anyway as a procedural language.

Why Encapsulation Fails

21:01

Design Patterns as Band-Aids

Objects were born from wanting code units larger than functions; design patterns, SOLID, and DI are band-aids compensating for OOP's original vision never panning out.

24:16

The Shared-State Trap

Taken strictly, message-passing means copies only, forcing multiple objects messaging the same target to effectively share state—like a global variable. Theo notes React's declarative model can encourage the same problem.

29:01

God Objects and Absurd Hierarchies

Serious encapsulation demands strict parent-to-child hierarchies with god objects, and cross-cutting concerns must bubble up and bucket-brigade down—never done in practice.

Structure That Fights You

32:02

Over-Engineered or Swiss Cheese

OO codebases end up either towers of abstraction or tangled object piles; refactoring forces sub-god objects, and bypassing encapsulation is the usual reality. Buildings erected before the floor plan is known become swiss cheese.

33:17

Bad Structure vs. No Structure

The lesson is to be careful imposing structure early—random airplane boarding outperforms prescribed patterns, showing a bad prescribed structure is worse than none.

35:22

Kingdom of Nouns and Analysis Paralysis

OO forces unnatural 'doer' classes for every behavior (Yegge's kingdom of nouns), poses silly dilemmas like whether a message sends itself, and fractures functionality across files, often spreading rather than reducing complexity.

The Procedural Alternative

40:38

Prefer Functions, Parameterize, Go Pure

Practical guidelines: when unsure whether a function belongs to a data type, make it a plain function; parameterize instead of using globals; group remaining globals into types; favor pure functions opportunistically.

44:50

Coarse-Grained Encapsulation

Encapsulate only at the namespace/package/module level—Go packages are cited as the right granularity, where a handful of units makes hierarchy manageable and violations cost little.

46:39

Long Functions and Section Comments

Don't fear long functions: chop code into tiny methods and you scatter sequential logic. Use section comments as documentation, extract only when called in multiple places, and constrain variable scope with braces.

50:19

A 'use' Block Language Proposal

Brian proposes anonymous functions that can't see their enclosing scope except explicitly listed copied variables, making self-contained inline sections extractable later—an idea from Jonathan Blow's language work that exists in no known language.

52:17

Closing Thoughts and Recommendations

Procedural programming works even in Java or C#, and abandoning OOP ideals is liberating. Theo recommends Brian Will's follow-up videos, especially for game developers, before channel promotions.

Moment by moment

TimeWhy it matters
11:20The key reduction: the whole OOP debate boils down to one idea—encapsulation.
12:59Theo's counter-evidence: a new engineer shipped full-stack features in a week on a functional-first stack.
25:58The shared-state trap: strictly-encapsulated messaging degenerates into global-variable-like state.
33:20The airplane boarding analogy proving a prescribed bad structure is worse than no structure.
41:04The pivot to actionable advice: 'when in doubt, parameterize' and prefer plain functions.

Do this next

  1. Audit one of your classes: identify methods that don't genuinely belong to the data type and extract them as plain functions taking explicit parameters.
  2. Refactor one over-fragmented code path into a single long function with section comments and scoped braces, then compare readability with a colleague.
  3. Watch Brian Will's original 'Object-Oriented Programming is Bad' talk and his 'OOP is Embarrassing' follow-up to compare his arguments against your own codebase.

Common questions

Does the video say all use of classes is bad?

No. Occasional benign use—associating functions with data types where the relationship is very strong, like abstract data types such as queues and lists—is considered fine. The target is the ideology of forcing every behavior into a class.

What is the single biggest criticism of OOP in this video?

Encapsulation. Inheritance is already widely avoided, and polymorphism isn't OOP-exclusive, so the argument reduces to the claim that fine-grained encapsulation of state into objects doesn't work and leads to shared-state messes.

What paradigm does Theo recommend instead?

Procedural programming, not functional. Functional style is praised for minimizing state, but the prescription is: minimize state functionally where sensible, then segregate the remainder at coarse module/package level.

Are there concrete coding guidelines in the video?

Yes: parameterize instead of using globals, group remaining globals into data types, favor pure functions, encapsulate only at package/module level, don't fear long functions with section comments, and use scoped subsections to limit variable visibility.

Spot a mistake?

Spotted a timestamp that's off or a summary that misrepresents the video? Every chapter summary on this page is hand-checked against the actual transcript, but we're still human—email us and we'll fix it.

More course guides