2. Advantages of Object Oriented programming



Hello folks!
Welcome to this blog series. While we get started with actual design it is important to start with the basics of OOP.In the previous blog we have studied the different types of programming styles.
Now in this blog we will see the general advantages of object oriented programming (OOP) as well as the how object oriented programming is better then procedural programming

These are some general advantages of object oriented programming (OOP) :

1)  It is easy to model a real system as real objects are represented by programming objects in OOP. The objects are processed by their member data and functions. It is easy to analyze the user requirements.
2)  With the help of inheritance, we can reuse the existing class to derive a new class such that the redundant code is eliminated and the use of existing class is extended. This saves time and cost of program.
3)  In OOP, data can be made private to a class such that only member functions of the class can access the data. This principle of data hiding helps the programmer to build a secure program that can not be invaded by code in other part of the program.
4)  With the help of polymorphism, the same function or same operator can be used for different purposes. This helps to manage software complexity easily.
5)  Large problems can be reduced to smaller and more manageable problems. It is easy to partition the work in a project based on objects.
6)  It is possible to have multiple instances of an object to co-exist without any interference i.e. each object has its own separate member data and function.



Advantages of object-oriented programming over procedural programming are as follows

1)  OOP provides a clear modular structure for programs.

2)  OOP makes it easy to maintain and modify existing code.

3) OOP provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer.

4)  Code reusability.

5)  It is suitable for real word problems and real world works.

All these advantages make object-oriented approach more preferable over procedural approach, hence, in our project we are going to use object-oriented programming to make the entire system.
In the next blog we will discuss about the different programming languages

By-
Ashutosh Bardapurkar    (k-05)
Hrishikesh Deshpande    (k-16)
Archit Hiwrekar        (k-23)
Chinmay Kapkar    (k-33)



6 comments: