|
ABSTRACT
It has been proposed, by E. W. Dijkstra and others, that the goto statement in programming language is a principal culprit in programs which are difficult to understand, modify, and debug. More correctly, the argument is that it is possible to use the goto to synthesize program structures with these undesirable properties. Not all uses of the goto are to be considered harmful; however, it is further argued that the “good” uses of the gotofall into one of a small number of specific cases which may be handled by specific language constructs. This paper summarizes the arguments in favor of eliminating the goto statement and some of the theoretical and practical implications of the proposal.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
Dijkstra, E. W., "A constructive approach to the problem of program correctness", BIT 8, 1968.
|
| |
3
|
Dijkstra, E. W., "Structured programming", Software Engineering, October 1969, Rome.
|
| |
4
|
Dijkstra, E. W., "Notes on Structured Programming", August 1969.
|
| |
5
|
Naur, P., "Proof of algorithms by general snapshots", BIT 6, 1966.
|
| |
6
|
Naur, P., "Programming by action clusters", BIT 9, 1969.
|
 |
7
|
|
 |
8
|
|
| |
9
|
Parnas, D. L., "Information distribution aspects of design methodology", IFIP, 1971.
|
| |
10
|
|
| |
11
|
|
| |
12
|
Manna, Z., "The correctness problem of computer programs", Computer Science Research Review, 1968.
|
| |
13
|
Van Wijngaarden, A., "Recursive Definition of Syntax and Semantics", in Formal Language Description Languages, (T. B. Steel, ed.), North-Holland Publishing Col, Amsterdam, 1966.
|
| |
14
|
Knuth, Floyd, Notes on Avoiding 'GOTO' Statements, Technical Report CS 148, Stanford University, January 1970.
|
| |
15
|
Ashcroft, E. and Manna, Z., "The translation of "goto" programs into "while" programs", IFIP, 1971.
|
| |
16
|
Wulf, et al., Bliss Reference Manual, Computer Science Department Report, Carnegie-Mellon University.
|
 |
17
|
|
 |
18
|
W. Wulf , C. Geschke , D. Wile , J. Apperson, Reflections on a systems programming language, Proceedings of the SIGPLAN symposium on Languages for system implementation, p.42-49, October 25-26, 1971, Lafayette, Indiana, United States
|
| |
19
|
Wulf, W. A., "Programming without the goto", IFIP, 1971.
|
 |
20
|
|
 |
21
|
|
| |
22
|
Parnas, D., On the Criteria to be Used in De-composing Systems into Modules, Computer Science Department Report, Carnegie-Mellon University, 1971.
|
 |
23
|
Zohar Manna , Stephen Ness , Jean Vuillemin, Inductive methods for proving properties of programs, Proceedings of ACM conference on Proving assertions about programs, p.27-50, January 06-07, 1972, Las Cruces, New Mexico, United States
|
 |
24
|
|
|