1977 · 98 citations · 19 references
ComputingComputer ScienceCompilersProgramming LanguagesSyntaxAbstract Syntax TreesControl-flow AnalysisData-flow AnalysisProgramming Language DesignProgramming Language ImplementationSoftware DesignFlowcharts
Folklore states that GOTO statements are “cheap”, while procedure calls are “expensive”. This myth is largely a result of poorly designed language implementations. The historical growth of this myth is considered. Both theoretical ideas and an existing implementation are discussed which debunk this myth. It is shown that the unrestricted use of procedure calls permits great stylistic freedom. In particular, any flowchart can be written as a “structured” program without introducing extra variables. The difficulty with the GOTO statement and the procedure call is characterized as a conflict between abstract programming concepts and concrete language constructs.
19
Techniques of program structure and design
Computer Languages · 1976 · 243 citations
William A. Wulf, David Russell, A. N. Habermann · Communications of the ACM · 1971 · 226 citations · Full text