Procedural and Object Oriented

Archived from the original Sajha.com — preserved as posted, replies can no longer be added here.
Start a New Discussion
Archived Post

Procedural and Object Oriented which is more effective and Why? or are they equivalent

cp21 · Sep 5, 2015 6:51 PM · 392 views

1 Reply

In theory they are equivalent (all Turing complete languages are equivalent). So the "effectiveness" really depends on what you are trying to do. Procedural programming is a bit more intuitive than the Object oriented one (OOP) in the sense that it is very similar to how you'd expect a computer program to work - step by step, top-down, one at a time. In OOP, as you probably already know, the notion of "Object" is the fundamental unit and all computations are carried out using objects. Most of the early programming languages such as C, COBOL were based on the procedural programming paradigms while almost all of the modern languages such as Java, C#, C++ etc are built with OOP in mind (Functional languages vs OOP is a separate conversation). If you want to build a fairly complex system you are very likely to use (and for all the right reasons) OOPs. It is easier and intuitive (and well possible) to design, code and maintain complex programs written in OOP than in procedural. If you look up any software design principle, it is built around the idea of OOP. While there are some notable exceptions (such as Linux), most, if not all, of the modern softwares are written around the idea of OOP.

shirish_ko_phool · Sep 6, 2015 12:24 PM

This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.

Start a New Discussion