On the StackOverflow blog, Medi Madelen Gwosdz wrote about why OOP is still a popular paradigm for programming. She found a couple of common advantages usually associated with Object Oriented Programming:
- Encapsulation helps to hide complexity behind well-defined interfaces.
- Inheritance helps to tackle repetition by extracting common code to parent classes.
- Polymorphism enables code to adapt to varying scenarios in a localised way.