Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Non-structured programming

From Wikipedia, the free encyclopedia
Programming paradigm preceding structured programming
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding 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 theprogramming paradigm that describes thestate-of-the-art of programming before thestructured programming paradigm was envisioned and involves the use of thegoto statement forcontrol flow such as selection (i.e.if/then/else) and iteration (i.e.while andfor).

In general, the use of goto, particularly for selection and iteration, is criticized for producing unreadable,spaghetti code in the 1968 open letterGo To Statement Considered Harmful by Dutch computer scientistEdsger W. Dijkstra,[1] who coined the termstructured programming.[citation needed]

Anyprogramming language that provides goto can be used to write unstructured code. Notable languages that rely primarily if not exclusively on goto for control flow includeJOSS,FOCAL,TELCOMP, anyassembly language,batch file, and early versions ofBASIC,Fortran,COBOL, andMUMPS.

References

[edit]
  1. ^Dijkstra (1968).

Sources

[edit]

Further reading

[edit]

External links

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

(DSL)
Concurrent,
parallel
Metaprogramming
Separation
of concerns
Comparisons/Lists
Portal:
Non-structured programming at Wikipedia'ssister projects:
Retrieved from "https://en.wikipedia.org/w/index.php?title=Non-structured_programming&oldid=1310525870"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp