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
In questa pagina del sito puoi guardare il video online Python Object Oriented Programming - Constructor, __init__ [FULL COURSE 2021] della durata di ore minuti seconda in buona qualità , che l'utente ha caricato JimShapedCoding 30 agosto 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,798 volte e gli è piaciuto 257 spettatori. Buona visione!