Procedural programming: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Removed unverifiable statement, re-fix English)
m (added a comma)
Line 3: Line 3:
In [[object-oriented programming]] procedural decomposition plays a subordinate role. Subprograms become methods of objects, which replace the former as building blocks.
In [[object-oriented programming]] procedural decomposition plays a subordinate role. Subprograms become methods of objects, which replace the former as building blocks.


Historically procedural programming played a decisive role in the creation of programming solutions to engineering problems.
Historically, procedural programming played a decisive role in the creation of programming solutions to engineering problems.

Revision as of 02:32, 21 July 2008

Procedural programming describes a way of decomposing a programming problem, when a larger problem is decomposed into smaller ones by means of subprograms. This type of decomposition is called procedural. It is typical for imperative programming and functional programming paradigms.

In object-oriented programming procedural decomposition plays a subordinate role. Subprograms become methods of objects, which replace the former as building blocks.

Historically, procedural programming played a decisive role in the creation of programming solutions to engineering problems.