PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Command goto
Date: Thursday, 30 Jan 2020, 13:58:50

    > Message Posted By: Unknown
    >
    > Are we allowed to use the command "goto" so as to jump from label to
    > label?

Yes, but be aware that the use of goto is viewed very
unfavorably among experienced programmers for reasons
explained in a famous paper "Go To Statement Considered
Harmful", by Edsger Dijkstra.  See

  https://dl.acm.org/doi/pdf/10.1145/362929.362947

A search for "goto considered harmful" will turn up
other references.

--Stan-
PREV INDEX NEXT