Skip to main content
AmigoFish

You Think This Is Good OOP… It’s Not

From ArjanCodes · · 19 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

🧱 Build software that lasts. Join the Software Design Mastery program → https://arjan.codes/mastery.

In this video, I walk through 6 common OOP practices that seem like good design but often make your code worse, including misusing inheritance, creating unnecessary hierarchies, violating the Liskov Substitution Principle, and abstracting too early. More importantly, I'll show what to do instead so your code stays simpler, more flexible, and easier to maintain.

🔥 GitHub Repository: https://git.arjan.codes/2026/oop.

💬 Join my Discord server: https://discord.arjan.codes.

⌨️ Keyboard I’m using: https://amzn.to/49YM97v.

🔖 Chapters: 0:00 Intro 0:57 Mistake 1: Inheriting Just to Reuse Code 3:02 Mistake 2: Turning Values Into Types 6:19 Mistake 3: Modeling Independent Features With a Hierarchy 8:33 Mistake 4: Creating a Base Class That Forces One Shape on Everything 12:30 Mistake 5: Creating Subtypes That Cannot Behave Like Their Parent 15:18 Mistake 6: Abstracting Before You Understand the Similarity 17:56 What Good OOP Actually Looks Like 18:41 Final Thoughts

#arjancodes #softwaredesign #python

Back to ArjanCodes · Report a problem