Article in Proceedings INPROC-1996-24

BibliographyGellerich, Wolfgang; Kosiol, Markus; Plödereder, Erhard: Where does GOTO go to?.
In: Proceedings of the 1996 Ada-Europe International Conference on Reliable Software Technologies.
University of Stuttgart, Faculty of Computer Science, Electrical Engineering, and Information Technology.
Lecture Notes in Computer Science; 1088, pp. 385-395, english.
Springer Berlin Heidelberg, April 1996.
ISBN: 978-3-540-61317-6; "ISSN: 0302-9743 (Print) 1611-3349 (Online)"; "DOI: 10.1007/BFb0013504".
Article in Proceedings (Conference Paper).
CR-SchemaF.3.1 (Specifying and Verifying and Reasoning about Programs)
KeywordsLanguages; Ada95; Efficiency
Abstract

Although GOTO has long been criticized for being 'unstructured' and causing 'unreliable' programs, it is still in use and even modern languages like Ada95 provide GOTO. Why? This paper presents the results of a study in which we examined 316 MB of Ada source code in order to find the frequency and typical applications of GOTO. It turned out that about 99% of all examined files do not contain any GOTO, but we also found ßpaghetti code", generally justified by efficiency arguments. We analyzed whether GOTO really improved efficiency and examined sources containing GOTO by code inspection in order to determine its typical applications.

Department(s)University of Stuttgart, Institute of Software Technology, Programming Languages and Compilers
Entry dateJuly 8, 2010
   Publ. Institute   Publ. Computer Science