goto-less programming


GOTO-less programming

[¦gō·tü‚les ′prō‚gram·iŋ] (computer science) The writing of computer programs without the use of GOTO statements.

goto-less programming

Writing a program without using goto instructions, an important rule in structured programming. A goto instruction points to a different part of the program without a guarantee of returning. Instead of using goto's, structures called "subroutines" or "functions" are used, which automatically return to the next instruction after the calling instruction when completed.