Chapter 38 Introduction to Object-Oriented Programming
38.1 What is Object-Oriented Programming?
In Part VII all the programs that you read or even wrote, were using subprograms (functions and void functions). This programming style is called procedural programming and most of the time it is just fine! But when it comes to writing large programs, or working in a big company such as Microsoft, Facebook, or Google, object-oriented programming is a must use programming style!
Object-oriented programming, usually referred to as OOP, is a style of programming that focuses on objects. In OOP, data and functionality are combined and encapsulated inside something called an object. Applying object-oriented programming principles enables you to maintain ...
Get Python and Algorithmic Thinking for the Complete Beginner 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.