tubeshowcaseā—1,194,391 videosā™” My collection 0
← Learn to Code

Learn to Code15:31

Protocols vs ABCs in Python - When to Use Which One?

ArjanCodes ↗

From the creator

šŸ’” 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

Published 2024-03-29 Ā· Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code