Structured program theorem
Appearance
The Structured Programming Theorem says that any imperative program need the following control statements only:
- Assignment statement,
- a sequence of statements,
- an If-Then and If-Then-Else statement,
- and a While statement.
There does not need to be a 'goto' statement. It leads to "spaghetti code", since you can jump all over the place.
(this article is a stub written by a total beginner...)