© Sandeep Nagar 2018
Sandeep NagarIntroduction to Python for Engineers and Scientistshttps://doi.org/10.1007/978-1-4842-3204-0_9

9. Object-Oriented Programming

Sandeep Nagar
(1)
New York, USA
 

9.1 Introduction

The idea of defining objects is quite natural to humans since we deal with objects in our day-to-day life. We understand an object as something that has
  • a set of attributes and
  • a related set of behaviors.
Early on, babies learn about objects in their environment. For example, as babies, we learn that a ball (object) has a color, shape, and size (attributes), and it rolls, skids, and bounces (behavior). In the early 1970s, Alan Kay at Xerox PARC (Palo Alto Research Center) worked on the concept of object-oriented programming (OOP) [1]. While working ...

Get Introduction to Python for Engineers and Scientists: Open Source Solutions for Numerical Computation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.