Procedural Programming 

Procedural-based Programming
  • In the 1970's procedural-based programming was all the rage. You should be very familiar with procedural-based programming since we spent all day yesterday going over Perl, which is very much a procedural- based programming language.
Actually, Perl Version 4, which is what we discussed yesterday, is a procedural-based programming language. Perl 5, the newest version of Perl actually introduces Object-Oriented capabilities into the Perl universe. After all, everybody wants to be part of the "in-crowd"
  • In a procedural-based programming language, a programmer writes out instructions that are followed by a computer from start to finish. 
  • For example, a procedural-oriented program might work like this: 

  • [image]

  • A more complex procedural-based program might introduce logical branches such as in the following example 

  • [image]

  • But even in the case of a more complex logical flow, the main idea remains the same...a certain set of instructions is followed through from beginning to end, each step building upon and tied to every previous step. 
Reading and Parsing Form Data with cgi-lib.pl
Table of Contents
Limitations of Procedural-Oriented Programming


Graphics & Media Lab. >> Библиотека | Курсы | Графикон

Hosted by Graphics & Media Lab
http://graphics.cs.msu.su
lab_logo
mailto: Laboratory