Object-oriented programming: Why should you learn OOP?
The goal is to help you understand why object-oriented programming deserves a guaranteed spot on your résumé.

Editorial translation by Impulso.
If you’re just getting started in software development, this question tends to come up again and again. These days, topics such as functional programming and test-driven development, for example, come up in the same conversations as object-oriented programming (OOP). So the aim of this short article is to help you make sense of it all and show you why OOP deserves a guaranteed spot on your résumé.
When we talk about software development and its paradigms, there’s a learning sequence that always comes to mind for me: imperative programming, object-oriented programming, and then functional programming. It’s hardly a rule, but it’s usually the natural learning curve for a developer.
Imperative programming
Imperative programming is what 99.99% of developers learn when they first get into software development. Think of college students studying information systems or a related field. Their first course is structured algorithms, or perhaps programming fundamentals, where they learn the basics, usually with “Portugol,” and often learn C as well. This is very common because languages like C have the imperative paradigm at their core. In other words, every application or algorithm is built around a series of steps it has to carry out.
For example, what steps would you take to change a light bulb? Here’s a quick rundown:
- turn off the switch;
- get a ladder;
- set up the ladder;
- climb the ladder;
- unscrew the burned-out bulb;
- climb down the ladder;
- throw away the burned-out bulb;
- get a new bulb;
- climb the ladder;
- screw in the new bulb;
- climb down the ladder;
- turn on the switch to see if the new bulb lights up.

Of course, you could do the same job in more or fewer steps, depending on your choices. For example, you could take the working bulb with you the first time you climb the ladder. In fact, that’s exactly what makes computing so much fun. We can get the same result by taking different paths or following different steps. So, in a nutshell, imperative programming is simply about following a sequence of steps until you reach your goal.
Object-oriented programming
Once new developers have learned these basics, usually in courses like introduction to programming, programming fundamentals, or algorithms, they realize that many of the tools and languages in use today (Java, Ruby, Python) support the object-oriented paradigm as well as imperative programming. That might sound like a bad thing at first. But it actually lets developers “level up.” After all, following a sequence of steps is no longer the only way they can solve problems. They can also model the problem in a more natural way.
Let’s look at the same example of changing a light bulb, this time using OOP.
- The first thing to do is think about the classes or things involved in our example of changing a light bulb. A few come to mind right away: a person, a light bulb, a ladder, a light bulb socket, and a switch.
- Now that we know what’s involved, we can combine their attributes and actions. For example, “a person picks up a working light bulb.” Just saying “person,” “picks up,” “light bulb,” and “working” already tells us quite a bit, because we can model all of these using the object-oriented paradigm. It all comes down to modeling objects or things that have actions and attributes. In this case, “person” would be a class or object, “picks up” would be an action performed by the “Person,” “Light Bulb” would be another class or object, and “working” would be the state, characteristic, or attribute of the “Light Bulb.”
Conclusion
Anyway, if this is new to you, I’m sure it got your brain working. And it got you curious about how it all works, right? It’s almost impossible to explain what OOP really is in a short article, but one thing is clear: learning this paradigm is a natural part of growing as a developer. And building a career in this field also depends on knowing it inside and out.
Despite all the hurdles, the coolest part is that once you’ve learned this paradigm, you can apply it in any programming language that supports it. You only have to learn it once. Even if you learned OOP in Java, you’ll see that it works the same way in Ruby or Python, for example. And that’s one of the wonderful things about learning a new paradigm.
Big hug! 😉


