Visualising Object Orientated Programming (OOP) in Python

Channel:
Subscribers:
7,760
Published on ● Video Link: https://www.youtube.com/watch?v=znaKI_vRaGk



Duration: 40:43
53 views
3


In this video I cover the concept of Object Orientated Programming (OOP) in Python. OOP is a relatively simple concept and one that beginners in Python should understand as soon as possible. Unfortunately OOP is often taught poorly and beginners cannot get their head around it because they cannot visualise the objects being constructed. Therefore in this video I demonstrate the principles of OOP using several toy models alongside their blueprint (class). I cover initialisation, construction, instance attributes, (instance) methods, class attributes, class methods and static methods. I also cover referencing an instance using an instance name (or reference) that is depicted as a label.

Once the concept is covered using the toy model, I then create a simple class MobileSuit in Python that mimics the behaviour of the toy model. Beginners should not get hung up trying to understand every line of code in the MobileSuit class... as this video is not for that purpose... Instead appreciate the general form of the class and focus on using the class to create instances and call methods from they instances. I conclude by doing so with the str and int builtin classes. I will cover these in more detail in additional videos. Subscribe to the channel if interested.

These toy models are all Mobile Suit Leos from Mobile Suit Gundam Wing (RobotSpirits).

Written markdown and html tutorials are more advanced that the video series at the moment but still a work in progress:
https://github.com/PhilipYip1988/python-tutorials

If you have found this useful please share with a friend.

#Python #OOP #concept