4.5 BENEFITS OF OBJECT-ORIENTED PROGRAMMING

Software reusability

When we develop software using OOP language, we develop it in terms of classes and objects. Classes exemplify data abstraction. Hence, they have some existence/application outside the program. When we write another program of similar nature, all these class definitions can be directly used. It means that half of the job is done. Our efficiency is thus doubled. Thus, software reusability is one of the benefits of OOP.

Code sharing

If we resort to some standardization, if our friends (or members of a software team) have developed some code, we can directly use it in our program. No tuning or testing is required. In our opinion, the concept of code sharing and the concept of the software ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.