Structured programming

From Wiki @ Karl Jones dot com
Jump to: navigation, search

Structured programming is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by making extensive use of subroutines, block structures, and for and while loops.

Description

This is in contrast to using simple tests and jumps such as the goto statement which could lead to spaghetti code which is difficult both to follow and to maintain.

It emerged in the 1960s, particularly from a famous letter, Go To Statement Considered Harmful.

It was bolstered theoretically by the structured program theorem, and practically by the emergence of languages such as ALGOL with suitably rich control structures.

See also

External links