Handmade Hero | Getting rid of the OOP mindset
Why Hacker News recommends it
HN shares it as a concise critique of OOP from a respected systems programmer.
What it is
A short clip of Casey Muratori from Handmade Hero explaining why he rejects the object-oriented mindset and how to move away from it. It is part rant, part programming philosophy.
Recommended by 2 HN commenters across 2 different months, 2018 to 2023.
What Hacker News said
Recommends Reedx · 2018-10 · on “Ask HN: What is your best advice for a junior software developer?”
Here's an explanation from Casey Muratori: [this video] See also Mike Acton (Engine Director @ Insomniac Games): [LINK]
Recommends Reedx · 2018-10 · on “OOP Is Dead, Long Live OOP”
Some other takes: Casey Muratori (Handmade Hero) on why OOP is bad and how to get rid of that mindset - [this video] Mike Acton (Engine Director @ Insomniac Games) - [LINK]
Recommends kkoncevicius · 2021-10 · on “Ask HN: Programming talks that made something click for you?”
Not so much talk as a rant. "Getting rid of the OOP mindset" ( [this video] ) And accompanying article "Semantic Compression" : [LINK]
Cites mananaysiempre · 2023-01 · on “Microservices Are a Big Ball of Mud”
If that’s indeed the most useful general thing that can be said about this question, then it means the microservices crowd has won , at least insofar as it deserved to win. The point is not that everything needs to be a micro-est possible service, the point is that we all now have applications built out of loosely-coupled services as a primitive in our reasoning toolbox. I think very similar things when I hear Casey Muratori’s opinions on OOP[1], which he titled “getting rid of the OOP mindset” but I’d summarize as “absolutely do make an object or two if that fits your problem domain, but remember that it doesn’t have to and use your judgment”: that’s what OOP winning feels like , from the i