Top Qs
Timeline
Chat
Perspective
Non-structured programming
Programming paradigm preceding structured programming From Wikipedia, the free encyclopedia
Remove ads
Non-structured programming (a.k.a. unstructured programming) is the programming paradigm that describes the state-of-the-art of programming before the structured programming paradigm was envisioned and involves the use of the goto statement for control flow such as selection (i.e. if/then/else
) and iteration (i.e. while
and for
).
This article needs additional citations for verification. (April 2025) |
In general, the use of goto, particularly for selection and iteration, is criticized for producing unreadable, spaghetti code in the 1968 open letter Go To Statement Considered Harmful by Dutch computer scientist Edsger W. Dijkstra,[1] who coined the term structured programming.[citation needed]
Any programming language that provides goto can be used to write unstructured code. Notable languages that rely primarily if not exclusively on goto for control flow include JOSS, FOCAL, TELCOMP, any assembly language, batch file, and early versions of BASIC, Fortran, COBOL, and MUMPS.
Remove ads
References
Sources
Further reading
External links
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads