Object-Oriented Programming is Garbage: 3800 SLOC example
What it is
Brian Will critiques object-oriented programming and rewrites a roughly 3800-line OO program in a procedural style, cutting code and complexity. It is part of a series of OOP critiques.
Why Hacker News recommends it
HN recommends it as a concrete, worked example of the case against heavy OOP rather than abstract argument.
- 2 people recommended it
- 2 different months
- 1 strong recommendations
- first 2016, last 2022
What HN commenters said
“I recommend the whole series”
Rewrites a nontrivial OOP program procedurally, saving code and complexity
codemonkey-zeta, 2022-06 · Strong recommendation · in “Goodbye, shitty Car extends Vehicle object-orientation tutorial (2011)”
“There are three talks, actually.”
Brian Will's critique of OOP with a large example
lj3, 2016-12 · Recommendation · in “Talks that changed the way I think about programming”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: oop, procedural programming, refactoring, software design, code complexity
Also recommended by the same people
demoMock Interview with Shawn McGrathMolly Rocket · 6 HN recommenders · 2017–2023
explainerWhy Adults Can't Develop Perfect PitchRick Beato · 4 HN recommenders · 2017–2025
talkRailsConf 2014 - All the Little Things by Sandi MetzConfreaks · 15 HN recommenders · 2015–2025
talk"Simple Made Easy" - Rich Hickey (2011)Strange Loop Conference · 14 HN recommenders · 2022–2026
talk"Making Impossible States Impossible" by Richard Feldmanelm-conf · 9 HN recommenders · 2017–2026
talkHow To Design A Good API and Why it MattersGoogle TechTalks · 12 HN recommenders · 2011–2025
talkThe Value of Values with Rich HickeyInfoQ · 10 HN recommenders · 2014–2023
talkOverwatch Gameplay Architecture and NetcodeGDC Festival of Gaming · 16 HN recommenders · 2019–2025