Here Are the Basics of Object-Oriented Programming

Matt DeMichele
4 min readAug 28, 2022

Here are the four concepts you should know

Photo by Martin Sanchez on Unsplash

Object-oriented programming is one of the most important paradigms in software.

Here are four object-oriented concepts you should understand.

Abstraction

Abstraction is all about managing complexity. It’s essentially a useful way of thinking about a complex system.

To give you an idea of what abstraction means, let me use the example I’ve heard used most often. Say you have a car. When you think about a car, you probably think of it as one distinct object that does a specific job. What you don’t have to think about is the fact that a car is made up of countless complex parts, such as an engine, braking system, transmission, sound system, and fueling system. If you did think about all of a car’s parts, you’d probably get overwhelmed by the complexity of it all. With abstraction, you can be clueless about how the parts in a car actually work yet still understand exactly what a car does.

That’s exactly how abstraction works in a computer program.

Just like a car, an object-oriented program breaks down into many self-contained parts, or objects. Each object has a unique behavior and interacts with the other objects. When you put all the objects together, you…

--

--

Matt DeMichele
Matt DeMichele

Written by Matt DeMichele

Just a guy that likes to write sometimes | mattdemichele.co

No responses yet