spacer
rule
spacer
GOTO
spacer
rule
spacer

Dijkstra opened a can of worms when he submitted his famous letter, "Go To Statement Considered Harmful" to the Communications of the ACM in 1968. You can read the text of this letter on the Web at www.acm.org/classics/oct95/. Steve McConnell discusses the issue in his book, Code Complete (Microsoft Press, 1993). The Construx Web site (www.construx.com/stevemcc/ccgoto.htm) carries an excerpt from this book. You can learn more about the use of GOTO in an IEEE Software article called "Keep It Simple" at www.construx.com/stevemcc/bp06.htm.


spacer
spacer
Additional Links

Control Statements  At this page from the Professional Programmer's Guide to Fortran 77, you can see how the go to statement fits into the context of other program control structures. In general, the go to statement is considered obsolete or deprecated in most programming languages. But as you can see from the examples here, there are plenty of other ways to control program execution.


spacer
rule
spacer spacer spacer spacer spacer spacer spacer
Computer Concepts 4e spacer Computer Concepts and Computers, Technology, and Society spacer Return to the CD spacer Computer Concepts Illustrated
dotclear.gif (42 bytes)
spacer spacer spacer
spacer
Course Technology HomeAbout Course TechnologyCourse Technology
spacer
spacer