Advantages and Disadvantages of Object Oriented Programming Language :
Object-oriented programming technique is the latest programming approach used by the programmers to develop modern day application. It is basically based on the principle of data hiding, abstraction, encapsulation, modularity, inheritance and polymorphism. You can read more about object-oriented programming concept here. In this article, we are going to discuss the various advantages and disadvantages of object oriented programming language one by one.
The primary factor in the development of object-oriented approach is to remove some of the major disadvantages of the procedural programming approach. Although OOP has proved revolutionary in the world of software development, yet it has some disadvantages too. But if we compare the both OOP and procedural approach, the ratio of advantages are very high as compared to the cons.
Advantages of Object Oriented Programming Language :
The advantages of object oriented programming language are as follow :
The programmes written with OOP are really easy to understand.
Since everything is treated as objects, so we can model a real-world concept using OOP.
OOP approach offers the reusability of classes. We can reuse the classes that are already created without writing them again and again.
Since the parallel development of classes is possible in OOP concept, It results in the quick development of the complete programmes.
Programmes written in OOP technique are marginally easier to test, manage as well as maintain.
It is a secured development technique since data is hidden and can’t be accessed by external functions.
Disadvantages of Object Oriented Programming Language :
The disadvantages of object oriented programming language are as follow :
- Sometimes, the relation among the classes become artificial in nature.
Designing a program in OOP concept is a little bit tricky.
The programmer should have a proper planning before designing a program using OOP approach.
Since everything is treated as objects in OOP, the programmers need proper skill such as design skills, programming skills, thinking in terms of objects etc.
The size of programmes developed with OOP is larger than the procedural approach.
Since larger in size, that means more instruction to be executed, which results in the slower execution of programmes.