OOP - Benefits and advantages of OOP

mudasirqazi00 7,597 views 5 slides Apr 30, 2015
Slide 1
Slide 1 of 5
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5

About This Presentation

In these slides i have tried to explain some important benefits of OOP and its reasons of becoming successful way of programming.


Slide Content

Benefits and Advantages of OOP List of a few benefits 22-Dec-14 Mudasir Qazi - [email protected] 1

Contents / Agenda List details 22-Dec-14 Mudasir Qazi - [email protected] 2

List Here is a list of few advantages of OOP Simplicity S oftware objects model real world objects, so the complexity is reduced and the program structure is very clear. It is easy to partition the work in a project based on objects . Software complexity can be easily managed. Modularity Each object forms a separate entity whose internal workings are decoupled from other parts of the system. We can built programs from standard working modules that communicate with one another rather than, having to start writing the code from scratch. This leads to saving of development time and higher productivity . Object-oriented programming is modular, as it provides separation of duties in object-based program development. It is also extensible, as objects can be extended to include new attributes and behaviors. Objects can also be reused within an across applications. Because of these three factors – modularity, extensibility, and reusability – object-oriented programming provides improved software-development productivity over traditional procedure-based programming techniques. Modifiability It is easy to make minor changes in the data representation or the procedures in an OO program. Changes inside a class do not affect any other part of a program, since the only public interface that the external world has to a class is through the use of methods. 22-Dec-14 Mudasir Qazi - [email protected] 3

List List continues… Re-usability Objects can be reused in different programs. Reuse enables faster development . Object-oriented programming languages come with rich libraries of objects, and code developed during projects is also reusable in future projects. Inheritance Through inheritance, we can eliminate redundant code and extend the use of existing classes . Abstraction The principle of data hiding helps the programmers to built secure program that can’t be invaded by code in other parts of the program . Also it helps to just ignore the internal complexities and work with black boxes that work great. Up gradation Object-oriented systems can be easily upgraded from small to large system. Layers Message passing technique for communication between objects make the interface descriptions with external system much simpler. 22-Dec-14 Mudasir Qazi - [email protected] 4

List List continues… Lower cost of development The reuse of software also lowers the cost of development. Typically, more effort is put into the object-oriented analysis and design, which lowers the overall cost of development. Higher-quality software Faster development of software and lower cost of development allows more time and resources to be used in the verification of the software. Although quality is dependent upon the experience of the teams, object-oriented programming tends to result in higher-quality software. Extensibility Adding new features or responding to changing operating environments can be solved by introducing a few new objects and modifying some existing ones. Maintainability  Objects can be maintained separately, making locating and fixing problems easier. Debugging a code is also made simple. 22-Dec-14 Mudasir Qazi - [email protected] 5