Handmade Hero | Getting rid of the OOP mindset

Channel:vexe · Length:7:43 · Published:2017-07-09 · Views:169049

Watch on YouTube

Summary

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.

Why HN recommends it

HN shares it as a concise critique of OOP from a respected systems programmer.

Casey Muratori (Handmade Hero) on why OOP is bad and how to get rid of that mindset — HN, 2018

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

Subtitles (excerpt)

what advice do you have for relatively new programmers who are trying to ditch the oop mindset and move on to things like data oriented design and compression oriented design um so the advice that I would have depends on the person so if you are somebody who learned to program and then learned objectoriented programming and it messed you up then what I would say is just go back to the old way you programmed and start again from there that's what I did and it works really well um and just focus on sort of programming the old school way where you just sat down and tried to get something to work and then add on to that the compression oriented steps where you go like oh okay uh now I'm going to pull some stuff out and now I'm going to try and make some things that like you know uh are are repeatable uh things that I see myself doing often I'm going to make repeatable pieces out of those right but if you're somebody who never learned how to program on their own and was taught oop first uh then I'm afraid I don't know since I've never been in that position myself I don't know what the right thing to say is uh I think what I would say is try to put the notion of the programming language out of your brain and try to think about

On Hacker News

Not so much talk as a rant. "Getting rid of the OOP mindset" ( [VIDEO] ) And accompanying article "Semantic Compression" : [LINK] — kkoncevicius, 2021-10
Here's an explanation from Casey Muratori: [VIDEO] See also Mike Acton (Engine Director @ Insomniac Games): [LINK] — Reedx, 2018-10
Some other takes: Casey Muratori (Handmade Hero) on why OOP is bad and how to get rid of that mindset - [VIDEO] Mike Acton (Engine Director @ Insomniac Games) - [LINK] — Reedx, 2018-10
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 thin… — mananaysiempre, 2023-01

Related videos