C语言 goto, return等跳转
C语言 goto, return等跳转
Please don't fall into the trap of believing that I am terribly dogmatical about [the go to statement]. I have the uncomfortable feeling that others are making a religion out of it, as if the conceptual problems of programming could be solved by a single trick, by a simple form of coding discipline!"
[29]Dijkstra, E. W. personal communication, January 3, 1973.
I argue for the elimination of go to's in certain cases, and for their introduction in others.
Donald Knuth in Structed Programming with go-to statements, in [ Computing Surveys, Vol. 6, No. 4, December 1974 ]