January 2023
Intermediate to advanced
472 pages
17h 59m
English

So far in this primer, you’ve been writing code using procedural programming techniques built around performing actions and evaluating logic. You’ve learned how to organize code using functions and modules, and you’ve used built-in data types to organize data. In this chapter, you’ll learn how to use object-oriented programming to define your own types to organize both code and data.
Object-oriented programming (OOP) is a language model that lets you bundle together related data with functionality that acts on that data. The data consists of attributes (akin to variables) that are manipulated by methods (akin to functions). ...
Read now
Unlock full access