Monday, 26 May 2014

Object Oriented vs Procedural Approach for Programming

The programming has evolved from the development of the computer. It is programming, that made computers exist and develop further. In beginning there was nothing like Object Oriented. Only procedural approach was available. Everything was written in binary. But it changed, when C language came in existence. I became easy to write programs for computers with the help of compilers. That were used to convert human understandable code to machine understandable code.

Simple procedural approach changed to function calls, if elses, loops. It became easy to write large programs in understandable way. And programs changed to software. But as the software sizes grew, it became difficult to maintain the code. It was difficult to make further extendable software at some point.

Here object oriented approach makes development much more easier and maintainable code. Software can be extended to any size and functionality. In object oriented approach everything is done in modules, called as objects. Which are similar to real life object and their functionalities. For example  a species could be human or animal, but both have similarity that the eat. So code with classes objects is known as object oriented code.


When creating new software(s), it is better choice to develop it with OOP (Object Oriented Programming) Approach. It would be easy to maintain extend and use.

No comments:

Post a Comment