The Ultimate Course of Python OOP, in the second part, we will understand why you should create constructors, how _init_ is beneficial, and also how to use validation for your parameters with typing and assert.
#PythonOOP #Python #Pythonself
☕ Buy me a coffee: https://www.buymeacoffee.com/jimsc
Connect with me with:
Instagram: / jimshapedcoding
E-mail: jimshapedcoding@gmail.com
Twitter : / jimshapedcoding
Discord : / discord
🔥 Comment below if you want to see more videos in that style
👍 Subscribe to start your Python Developer / DevOps Engineer journey here:
/ @jimshapedcoding
My Personal website:
http://jimshapedcoding.com
Links:
Github Repo to the code:
https://github.com/jimdevops19/PythonOOP
Timeline of the video:
00:00 - 04:11 - What problem the constructor solves?
04:12 - 09:21 - Attribute assignment through _init_
09:21 - 13:11 - More important tips how to use _init_
13:12 - 15:50 - Validations: Using Typing
15:51 - 20:18 - Validations: Using Assert statement
Auf dieser Seite können Sie das Online-Video Python Object Oriented Programming - Constructor, __init__ [FULL COURSE 2021] mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer JimShapedCoding 30 August 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,798 Mal angesehen und es wurde von 257 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!