A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://realpython.com/courses/intro-object-oriented-programming-oop-python/discussion/ below:

What Is Object-Oriented Programming (OOP)? (Video) – Real Python

In this lesson, you’ll learn what object-oriented programming (OOP) is and why it’s used.

Lots of popular frameworks and libraries are written using OOP, so it’s a good tool to have in your Python toolkit.

OOP is a programming paradigm, or a specific way of designing a program. It allows us to think of the data in our program in terms of real-world objects, with both properties and behaviors. These objects can be passed around throughout our program.

Properties define the state of the object. This is the data that the object stores. This data can be a built-in type like int, or even our own custom types we’ll create later.

Behaviors are the actions our object can take. Oftentimes, this involves using or modifying the properties of our object.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4