Saturday, July 30, 2016

Project Documentation - Reason Behind Choosing C++

Back

The traditional methodology(Function-Oriented Programming), object-oriented programming emphasises on the data rather than the algorithm.In OOP, data is compartment or capsule is called an object.
In the OOP approach, the problem is divided into objects, whereas in function-oriented programming the problem is divided into functions. Although, both approaches adopt the same philosophy divide and conquer, OOP conquers a bigger region, while function-oriented programming is content with conquering a smaller region. Object-Oriented Programming contains function-oriented programming and so OOP can be referred to as the super set of function-oriented programming and hence, it can be concluded that OOP has an edge over function-oriented programming.
Some of the most prominent features of C++ are classes, operator and function overloading, free store management, constant types, references, inline and friend function, inheritance, virtual functions, streams for console and file manipulations, templates and exception handling.

Advantages:

Information hiding and data abstraction increase reliability and help decouple the procedural and representational specification from its implementation.
Dynamic binding increase flexibility.
Inheritance coupled with dynamic binding enhances the re-usability of code, thus increasing the productivity of a programmer. Code reuse is possible in conventional language as well, but object-oriented language greatly enhances the possibility of reuse.
Object-Orientation provides many other advanges in the production and maintenance of software; Shorter development time, high degree of code sharing and malleability.  

No comments:

Post a Comment