ABSTRACT

This chapter discusses how the instrumentality of object-oriented programming is inseparable from its conception in the abstract, and suggests that the process of planning and implementing a software system in object oriented programming (OOP) is as much art as it is science. It focuses on the design of objects, which seek to address in relation to other forms of design practice. A unique property of the Python language offers us a way to bundle data and procedures without the need for formal class definitions: an ad-hoc approach to authoring classes. Further, the ad-hoc approach is often applied in cases for which there is a one-to-one correlation between some information that must be calculated and stored, and some object. Class definitions in all OOP languages specify a special kind of method that is invoked when a new object of the type is constructed, and which is responsible for initialization.