Difference between revisions of "Structured programming"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Go To Statement Considered Harmful)
Line 1: Line 1:
'''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
+
'''Structured programming''' is a [[programming paradigm]] aimed at improving the clarity, quality, and development time of a [[computer program]] by making extensive use of [[Subroutine|subroutines]], [[block structures]], and [[for and while loops]].
  
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.
+
== Description ==
 +
 
 +
This is in contrast to using simple tests and jumps such as the [[Goto|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 emerged in the 1960s, particularly from a famous letter, Go To Statement Considered Harmful.
Line 10: Line 12:
  
 
* [[Computer programming]]
 
* [[Computer programming]]
 +
* [[Computer science]]
 
* [[Edsger Wybe Dijkstra]]
 
* [[Edsger Wybe Dijkstra]]
 
* [[Go To Statement Considered Harmful]]
 
* [[Go To Statement Considered Harmful]]
 +
* [[Goto]]
 
* [[Programming language]]
 
* [[Programming language]]
 
* [[Programming paradigm]]
 
* [[Programming paradigm]]
 +
* [[Software engineering]]
 +
* [[Spaghetti code]]
  
 
== External links ==  
 
== External links ==  
  
 
* [https://en.wikipedia.org/wiki/Structured_programming Structured programming] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Structured_programming Structured programming] @ Wikipedia

Revision as of 07:40, 2 September 2015

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