The Ultimate Guide to Writing Classes in Python
Описание
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
✍? 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-python
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: https://twitter.com/arjancodes
?LinkedIn: https://www.linkedin.com/company/arjancodes
?Facebook: https://www.facebook.com/arjancodes
?Instagram: https://www.instagram.com/arjancodes
♪ Tiktok: https://www.tiktok.com/@arjancodes
? Code reviewers:
- Yoriz
- Ryan Laursen
- Dale Hagglund
? Video edited by Mark Bacskai: https://www.instagram.com/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!
Рекомендуемые видео


















