Introduction to Object-Oriented Programming
A gentle introduction to Object-Oriented Programming (OOP). This course doesn't try to cover everything there is to cover in OOP. Instead, it focuses on the fundamentals of OOP and the OOP mindset.
0.1 The Shortest Definition of What A Computer Program Does
0.2 Does Everyone Love OOP? • Introduction to This Course
0.3 You've Been Using OOP Without Knowing All Along
1.1 Introducing the Market Seller Project
1.2 First Attempt
1.3 Second Attempt
1.4 Adding Functions to The Second Attempt
2.1 OOP, Finally • Creating a Class and The OOP Mindset
2.2 Creating Objects
2.3 Creating Objects With Different Attributes
2.4 Understanding self • Each Object Has Its Own Data
2.5 Revisiting The Second Attempt (The One With A Dictionary)
3.1 Defining Methods • Doing Stuff With The Data
3.2 And A Few More Methods
3.3 Adding Everything We May Find Useful
3.4 Revisiting The Second Attempt Again (The One With A Dictionary)
4.1 Defining Another Class
4.2 Interacting With Another Class • Part 1
4.3 Reviewing Type Hints
4.4 Interacting With Another Class • Part 2
5.1 Special Methods for String Representations
5.2 Some More Special Methods
5.2 Final Words