Jump to content

Procedural code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 207.171.180.101 (talk) at 18:06, 10 November 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The procedural code anti-pattern involves writing code by compiling all of the steps to accomplish the task in sequential order as opposed to the abstraction of the task into its fundemental components. This is not necessarily unproductive in small scripts, or at a high level in the code, but procedural code can become unmanageable in larger projects.

Object orientated and declarative languages aim to avoid the pitfalls of procedural code.