hackertube.io

Object-Oriented Programming is Garbage: 3800 SLOC example

Brian Will · lecture · Watch on YouTube

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

  1. “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)”

  2. “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