Python Object Oriented Programming - Constructor, __init__ [FULL COURSE 2021]

Published: 30 August 2021
on channel: JimShapedCoding
4,798
257

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


On this page of the site you can watch the video online Python Object Oriented Programming - Constructor, __init__ [FULL COURSE 2021] with a duration of hours minute second in good quality, which was uploaded by the user JimShapedCoding 30 August 2021, share the link with friends and acquaintances, this video has already been watched 4,798 times on youtube and it was liked by 257 viewers. Enjoy your viewing!