3 ms·
"The goto statement is one of the most infamous and troublesome features of old, archaic languages like Fortran." "It allowed programmers to quickly create spa
by comice 15y ago
"The goto statement is one of the most infamous and troublesome features of old, archaic languages like Fortran."
"It allowed programmers to quickly create spaghetti code that was confusing and impossible to understand"
C still supports goto, and it does have its place. It can actually make code more readable.
But Linus Torvalds, Robert Love, Rik van Riel and many others make the point much better than I ever can. Argue with them if you like:
http://kerneltrap.org/node/553/2131 http://kerneltrap.org/node/553/2131