Content-Type: text/html

# Structured programming

HomePage | RecentChanges | Preferences | Random Page
You can edit this page right now! It's a free, community project

Structured programming is a method of programming based upon the concept of the unit and scope (the data viewing range of an executable code statement). A structured program is composed of one or more modules--either user coded or provided in a [code library]?; each module is composed of one or more functions?, also called a routine, subroutine, method, or procedure depending on programming language and possible [data structure]?s. Each scope can contain variables? which cannot be seen in outer scopes. Structured programming languages also provide constructs for creating a variety of loops and conditional branches of execution.

Strictly speaking, in a structured programming language, any code structure should have only one entry point and one point of exit; but, in some languages, such as C, it is possible to create multiple exit points.

Structured programming offers many benefits over simple, unstructured sequential programming: Structured programming code is easier to read and more maintainable; structured code is more flexible; structured programming allows for the easier practice of good program design.

/Talk

HomePage | RecentChanges | Preferences | Random Page
You can edit this page right now! It's a free, community project
Edit text of this page | View other revisions
Last edited August 16, 2001 7:00 pm (diff)
Search: