Object-Oriented Programming is Embarrassing: 4 Short Examples

Channel:Brian Will · Length:28:02 · Published:2016-03-04 · Views:2209115

Watch on YouTube

Summary

Brian Will follows up his earlier anti-OOP video by walking through four short code examples, including Java code in the style of Uncle Bob, to show how object-oriented design complicates simple programs. It argues that OOP hides and scatters state and adds needless indirection.

Why HN recommends it

HN commenters point to it as a sharp, example-driven critique of OOP and Clean Code style, often alongside Brian Will's other anti-OO videos.

I highly recommend "Object Oriented Programming is Bad" and "Object Oriented Programming is Embarrassing" on Youtube. — HN, 2021

Software architecture & design · Software practice, open source & careers

Subtitles (excerpt)

I recently posted a video called object-oriented programming is bad in which I made the theoretical case against object-oriented programming and why you should really never do it and a number of people complained about the title suggesting that it was somehow click baity but I disagree I chose the title because I I think it's really true I have nothing nice to say about obje programming I don't like it I think it's really been a disaster for the industry and so to follow up that argument and see it through I wanted to present some concrete examples and this one's up in the an so it's called objectoriented programming is embarrassing in this video I'll have four examples but they'll be really short uh less than 200 lines in each case uh two of them are in Java and two of them are in Ruby and I'm going to show how if you rewrite them into just a simple procedural style the resulting code is much better and I'll try and discuss exactly why and just to make the comparison Fair uh for each example I won't change a language so from java I'll rewrite it in Java and if it's in Ruby I'll rewrite it in Ruby be clear I did not TR pick these examples at all I just basically took the first examples I found on YouTube or Vimeo of some uh

On Hacker News

One of my favorites: "Object-Oriented Programming is Bad" [LINK] Followed by "Object-Oriented Programming is Embarrassing: 4 Short Examples". [VIDEO] — ravenstine, 2025-07
I highly recommend "Object Oriented Programming is Bad" and "Object Oriented Programming is Embarrassing" on Youtube. [LINK] [VIDEO] — rubyist5eva, 2021-03
Somewhat relatedly (covers some very similar concerns and IIRC even references "Clean Code"), Brian Wills has a few good videos [LINK] [VIDEO] — pentaphobe, 2021-05
Check out this video [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. — smnplk, 2019-10
There was an article on state in OOP posted here a few days ago that I found very thought-provoking[1]. The blog post and related youtube videos are pretty interesting as well[2][3][4]. [1] [LINK] [2] [LINK] [3] [LINK] [4] [VIDEO] — lazulicurio, 2019-10

Related videos