Chapter 3: Advanced Object-Oriented Python Programming
Python can be used as a declarative modular programming language such as C, as well as being used for imperative programming or full object-oriented programming (OOP) with programming languages such as Java. Declarative programming is a paradigm in which we focus on what we want to implement, while imperative programming is where we describe the exact steps of how to implement what we want. Python is suitable for both types of programming paradigms. OOP is a form of imperative programming in which we bundle the properties and behaviors of real-world objects into programs. Moreover, OOP also addresses the relations between different types of real-world objects.
In this chapter, we will explore how the advanced concepts of OOP can be implemented using Python. We are assuming that you are familiar with general concepts such as classes, objects, and instances and have basic knowledge of inheritance between objects.
We will cover...