Limitation and Its Benifits of OOPs


Limitations of procedural languages: 

    1. procedural language codes are very difficult to maintain, if codes grow longer. 

    2. Procedural language does not support any automatic memory management as like in oops. 

    3. Procedural language are difficult to related with the real-world object. 

    4. The data which is used in procedural language are exposed to the whole program so, these are security for data. 

    5. The reusability of code in procedural language is less. 

    6. The data in procedural language is not secure because use of pointer. 

    7. It does not support function over load. 

    8. It does not contain class and object. It supports structure program. 

    9. It does not support operator over loading. 

    10. It does not contain inheritance, encapsulation, polymorphism, and abstraction. 

 
Benefits of object-oriented programming (oop) 

1. object-oriented software is easy to develop and maintain because its structure is inherently decoupled. 
FOR EXAMPLE: To design a car make a four wheels and make a body and combined hem. 

2. Easy to change. FOR EXAMPLE: A car wheel can be changed to truck wheel by changing its size.

3. Less frustration for the software engineer and users. 

4. Easier to adopt and scale. FOR EXAMPLE: Because of outer world is made up of object so , it is easy to identify the object. 

5. Name space is implemented in object-oriented programming.

 6. Program developed in object-oriented programming are more secured. 

  

No comments:

Post a Comment

theengineerschoice01@gmail.com