This chapter introduces the basic ideas of object-oriented programming. Different people put different meanings into the term object-oriented programming: Some use the term for programming with objects in general, while others use the term for programming with class hierarchies. The author applies the second meaning, which is the most widely accepted one in computer science. The first meaning is better named object-based programming. Since everything in Python is an object, we do object-based programming all the time, yet one usually reserves this term for the case when classes different from Python’s basic types (int, float, str, list, tuple, dict) are involved.
KeywordsCommand Line Class Hierarchy Integrator Hierarchy Class Curve Midpoint Method
Unable to display preview. Download preview PDF.