Tuesday 17 July 2018

ADVANTAGES AND DISADVANTAGES OF OOP


Advantages of OOP:
  • Through inheritance, we can eliminate redundant code and extend the use of existing.
  •  Information hiding and data abstraction increase reliability and helps the programmer to build secure programs that cannot be invaded by code in other parts of the program.
  • Dynamic binding increases flexibility by permitting the addition of a new class of objects without having to modify the existing code.
  • Inheritance coupled with dynamic binding enhances the reusability of a code thus increasing the productivity of a programmer.
  • Many OO languages provide a standard class library that can be extended by the users thus saving a lot of coding and debugging effort.
  • If is possible to have multiple instances of an object to co-exist without any interference.
  • It is easy to partition the work in a project based on objects.


DISADVANTAGES:
  • It is not suitable for small programs where functions can give more accurate and quick results
  • It requires complicated spadework before OOP becomes fully operative
  • Creation of object libraries and its maintenance is a tough job.
  • Requires the master over the software engineering and programming methodologies.
  • Benefits only in long run while managing large software projects.


No comments: