Skip to content
0:00 / 0:00

#oop#cleancode#java

Object-Oriented Programming is Embarrassing: 4 Short Examples

Brian Will

100K subscribers • 5 videos on Hallway

YouTube
  • Recommended by 8 people: 6 on Hacker News, 1 on Lobsters and 1 in engineering communities.
  • A classic. People kept recommending it from 2016 to 2025.
  • Presented by Brian Will
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

2.2M views10 years ago8 recommendations

Software designProgramming languagesObject-oriented designDesign patternsSimplicity and complexity

Brian Will walks through four code examples to demonstrate how object-oriented design introduces unnecessary complexity and scatters state.

A follow up to youtube.com/watch?v=QM1iUe6IofM

Why it's here

8 people recommend this

What people say. Recommended as a compelling critique of object-oriented programming and Clean Code practices through concrete examples.

rubyist5evaon Hacker News • Recommends

On “Why OO Sucks by Joe Armstrong (2000)”

I highly recommend "Object Oriented Programming is Bad" and "Object Oriented Programming is Embarrassing" on Youtube. link link to this video

ravenstineon Hacker News • Recommends

On “Python classes aren’t always the best solution”

One of my favorites: "Object-Oriented Programming is Bad" link Followed by "Object-Oriented Programming is Embarrassing: 4 Short Examples". link to this video

friendlysockon Lobsters • Recommends

Object-Oriented Programming is Embarrassing: 4 Short Examples I had an extremely negative gut reaction when I first started watching this video, but as it proceeded, I started to think that the author might have some semblance of a point. It'd be a fun discussion topic either way! :)

DrScumpon Hacker News • Recommends

On “Inheritance Is Terrible”

Perhaps the Brian Will anti-OO videos provide more useful examples: link "Object-Oriented Programming is Bad" link to this video "Object-Oriented Programming is Embarrassing: 4 Short Examples"

smnplkon Hacker News • Recommends

On “Object-Oriented Programming and Essential State”

Check out this video link to this video from Brian Will, where he dissects 4 different code examples. I think one of the examples is also some Java code from Robert "Uncle Bob" Martin.

lazulicurioon Hacker News • Recommends

On “Why Isn't Functional Programming the Norm? [video]”

There was an article on state in OOP posted here a few days ago that I found very thought-provoking1. The blog post and related youtube videos are pretty interesting as well234. 1 link 2 link 3 link 4 link to this video

pentaphobeon Hacker News • Recommends

On “It's probably time to stop recommending Clean Code (2020)”

Somewhat relatedly (covers some very similar concerns and IIRC even references "Clean Code"), Brian Wills has a few good videos link link to this video

u/RatherPleasentin r/compsci • Recommends

This guy hates OOP

thunderbongon Hacker News • Mentions

On “Object-Oriented Programming is Garbage: 3800 SLOC example [video]”

Previous videos Object-Oriented Programming is Bad link Object-Oriented Programming is Embarrassing: 4 Short Examples link to this video I'm watching the 'is Bad' one, and honestly, it rings too close to my experience. Need to think about this a bit more deeply!

lj3on Hacker News • Mentions

On “Talks that changed the way I think about programming”

There are three talks, actually. Here are the other two. Object-Oriented Programming is Embarrassing: 4 Short Examples0 Object-Oriented Programming is Garbage: 3800 SLOC example1 0: link to this video 1: link

u/differentsmokein r/ProgrammingLanguages • Mentions

On “Everything is an Object....”

…it is not like OOP makes it impossible for software to be written, so I would ask what exactly do you mean by "wide applicability" (again, considering Turing completeness) and "success", by some measure other than popularity. For more detailed discussions about why OOP isn't great, I leave these two YouTube videos with which I happen to agree: [video [video [video…

u/tbm206in r/functionalprogramming • Mentions

On “Why OOP sucks?”

link to this video link to this video

u/ken-amazingin r/ocaml • Mentions

On “Object-Oriented Programming — The Trillion Dollar Disaster”

Also checkout OOP is Embarrassing: link to this video