Перейти к содержимому

Python OOP Explained: Why Classes and Objects Exist | Advanced Python Lesson 59

Tekotive

0:00 / 0:00

Python OOP Explained: Why Classes and Objects Exist | Advanced Python Lesson 59

2 просмотра · 2 дн. назад
Tekotive
15 подписчиков
2 просмотра · 2 дн. назад
Learn why object-oriented programming exists in Python: start with dictionaries and functions, hit a real maintenance problem and see how a class and its objects solve it. Lesson 1 of Object-Oriented Python (lesson 59 of the Advanced Python playlist). One running example, a student management application, built with real Python code that was run and checked. In this lesson: The problem Our first solution More students Predict the error A better mental model First student class Create two objects Trace the call Independent state A design mistake When oop helps Practice and recap CHAPTERS 0:00 The problem 0:51 Our first solution 1:50 More students 2:57 Predict the error 3:49 A better mental model 4:46 First student class 5:48 Create two objects 6:40 Trace the call 7:39 Independent state 8:35 A design mistake 9:32 When oop helps 10:35 Practice and recap Next: lesson 60 of this course. New to Python? Start with the beginner course, Python from First Principles:    • Python from First Principles   Full Advanced Python playlist:    • Advanced Python   New to the channel? Watch the intro first:    • How to Switch to Tech From a Non-Tech Back...   If this helped, subscribe so you do not miss the next lesson. From Tekotive. More lessons:    / @tekotive   #python #pythonoop #objectorientedprogramming