Programming

Submitted by: Submitted by

Views: 224

Words: 929

Pages: 4

Category: Other Topics

Date Submitted: 09/04/2012 06:34 PM

Report This Essay

Abstract

Procedural programming creates a step by step program that guides the application through a sequence of instructions. Procedural programming also focuses on the idea that all algorithms are executed with functions and data that the programmer has access to and is able to change. Object-Oriented programming is much more similar to the way the real world works; it is analogous to the human brain. Benefits of Object-Oriented programming include: ability to simulate real-world event much more effectively code is reusable thus less code may have to be written data becomes active better able to create GUI (graphical user interface) applications programmers are able to reach their goals faster Programmers are able to produce faster, more accurate and better-written applications (in the case of a veteran programmer, by a factor of as much as 20 times compared with a procedural program).

ColdFusion started its life as a procedural language and only in more recent times gained

object oriented features. As a result, there are a substantial number of procedural ColdFusion

systems in existence today. With this in mind, it is definitely worth taking a brief look at what it

means to write procedural code and then see how procedural code differs from an object oriented

approach.

In order to make an accurate comparison we need to first consider the problem that each

approach will help us solve. While programming a system, you are essentially dealing with data

and code(s) that change that data. Each of those fundamental aspects of programming is

handled quite differently in procedural systems in comparison to, object oriented systems. These

differences require different strategies in how we think about writing code.

Procedural programming can sometimes be used as a synonym for imperative

programming (specifying the steps the program must take to reach the desired state), but can

also refer (as in this article) to a programming paradigm ,...