Jump to content
Wikipedia The Free Encyclopedia

Non-structured programming

From Wikipedia, the free encyclopedia
(Redirected from Unstructured programming)
Programming paradigm preceding structured programming
This article needs additional citations for verification . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Non-structured programming" – news · newspapers · books · scholar · JSTOR
(April 2025) (Learn how and when to remove this message)

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).

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.

References

[edit ]

Sources

[edit ]

Further reading

[edit ]
[edit ]
  • BPStruct - A tool to structure concurrent systems (programs, process models)
Imperative
Structured
Object-oriented
(comparison, list)
Declarative
Functional
(comparison)
Dataflow
Logic
Domain-
specific
language

(DSL)
Concurrent,
distributed,
parallel
Metaprogramming
Separation
of concerns
Non-structured programming at Wikipedia's sister projects:

AltStyle によって変換されたページ (->オリジナル) /