Protocols vs ABCs in Python - When to Use Which One?
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I’m revisiting Protocols and ABCs in Python, essential for creating abstraction layers by defining interfaces. I covered this a while back, but it deserves a fresh look to clarify: what are the key differences, and when should you use each? 🔥 GitHub Repository: https://git.arjan.codes/2024/protocol 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/ 🔖 Chapters: 0:00 Intro 1:03 Short overview 1:53 Abstract Base Classes 5:39 Protocols 9:21 Making Protocols Behave Like ABCs 12:45 Conclusion 14:54 Outro #arjancodes #softwaredesign #python

▶︎
Rust’s Most Unique Feature

▶︎
Python Properties vs Methods: The Contract You Didn’t Know You Were Making

▶︎
Stop Overusing Classes in Python

▶︎
Python Interfaces and Abstract Base Class (ABC): A Must-Know for Advanced Programmers

▶︎
Protocols in Python: Why You Need Them - presented by Rogier van der Geer

▶︎
Go vs Python: What Every Developer Should Know

▶︎
Exploring Protocols in Python: Understanding & Creating Custom Protocols

▶︎
10 Python Features You’re Not Using (But Really Should)

▶︎
What are "Protocols" In Python? (Tutorial 2023)

▶︎
Why Your Code Isn’t Pythonic (And How to Fix It)

▶︎
I Tried SOLID Principles in Python… Here’s What Happened

▶︎
You NEED to STOP Using Google Right Now

▶︎
You NEED to know about Python protocols

▶︎
Protocol Or ABC In Python - When to Use Which One?

▶︎
Why Dataclasses Disappear in Real Python Applications

▶︎
Python Decorators - Visually Explained

▶︎
Python 3.12 Generic Types Explained

▶︎
Python 3.14: The NEW T-strings are Awesome

▶︎
This is probably the biggest misconception about Python

▶︎
