This lesson is devoted to explaining the basic concepts of “object-oriented programming” and is the last lesson in “basic” leveling in this book. The purpose of this lesson is to acquaint readers with the general concepts of object-oriented programming, not to teach it; More details on object-oriented programming, along with tutorials on how to implement its concepts in Python, will be explored in other lessons. This lesson also mentions the structure of objects and classes in the Python language, which will be a prerequisite for future lessons.
Object-Oriented Programming
” Object-Oriented Programming ” or OOP for short is a pattern or way of thinking in programming that is derived from the real world and has been around since the 1960s. The language that supports this pattern is called “object-oriented language”; Simula 67 and Smalltalk are the first object-oriented programming languages. The idea of object-oriented programming arose in response to some needs to which existing patterns did not meet; Needs such as: the ability to solve all complex problems (Complex), “Data Hiding” (Data Hiding), “Reusability” (Reusability) more, less dependence on functions, high flexibility and …