The Ultimate Guide to Writing Classes in Python

Published: 19 May 2023
on channel: ArjanCodes
114,283
3.8k

In this video, I'll share 5 essential tips for writing Python classes that will help you take your object-oriented programming skills to the next level.

Git Repo ➡️ https://git.arjan.codes/2023/classguide

👷 Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3-Factor Diagnosis Framework: https://www.arjancodes.com/diagnosis

💻 ArjanCodes Blog: https://www.arjancodes.com/blog

✍🏻 Take a quiz on this topic: https://www.learntail.com/quiz/qcitkg

🎓 Courses:
The Software Designer Mindset: https://www.arjancodes.com/mindset
The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas
The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level...
The 30-Day Design Challenge: https://www.arjancodes.com/30ddc

🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes.

👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

💬 Discord: https://discord.arjan.codes
🐦Twitter:   / arjancodes  
🌍LinkedIn:   / arjancodes  
🕵Facebook:   / arjancodes  
📱Instagram:   / arjancodes  
♪ Tiktok:   / arjancodes  

👀 Code reviewers:
- Yoriz
- Ryan Laursen
- Dale Hagglund

🎥 Video edited by Mark Bacskai:   / bacskaimark  

🔖 Chapters:
0:00 Intro
0:54 Keep your classes small
8:43 Make your classes easy to use
14:18 Use dependency injection
17:46 Make sure a class is actually needed
22:45 Use encapsulation
24:57 Outro

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!


Watch video The Ultimate Guide to Writing Classes in Python online without registration, duration hours minute second in high quality. This video was added by user ArjanCodes 19 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 114,283 once and liked it 3.8 thousand people.