© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. GutaPragmatic Python Programminghttps://doi.org/10.1007/978-1-4842-8152-9_3

3. The Class: How to Model the World

Gabor Guta1  
(1)
Budapest, Hungary
 

“Think like an object. Of course, this statement gets its real meaning by contrast with the typical approach to software development: Think like a computer.”

David West

When designing programming languages, one of the important goals is to enable the formulation of the programs in a way that is as close as possible to a real-world description of solutions. The object-oriented programming or paradigm attempts to fulfill this aim with the possibility of creating objects in the program’s text that are related to ...

Get Pragmatic Python Programming: Learning Python the Smart Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.