Skip to content
EduVerse

OOP

In depth

Concept

Also known as: Object-Oriented Programming, Objectgeoriënteerd programmeren

Programming paradigm that organises code around objects with data (attributes) and behaviour (methods).

OOP, explained

Written by EduVerse

What it is

Object-oriented programming is a style of programming where you build software from objects. A class is the blueprint: it describes what an object knows (its fields) and what it can do (its methods). You then create as many objects from that class as you need, each with its own data.

Why teams use it

As a program grows, loose functions and global variables become hard to keep track of. OOP keeps data and the code that changes it together, and hides the details behind a small public interface. That makes it easier to understand one part, test it and change it without breaking the rest.

An example from work

You open a Java or C# project and find a class called Order with fields like items and status, and methods such as addItem() and cancel(). Instead of changing the status directly from all over the code, you call order.cancel(), and the class itself decides whether that’s allowed.

Our own explanation, not a quote from the book.

In the book

Sentences from The Software Realm, Decoded that mention OOP, exactly as printed.

    1 more passages about OOP in the full book

    Read every conversation where OOP comes up, with the interactive slides and demos.

    See the book

    Where it fits

    Structuring code with classes, inheritance and polymorphism

    Coverage in the book

    In depth

    Covered in depth: multiple pages with explanations, examples and simulations.

    Appears in