Control Flow - Proposed Control Structures

Proposed Control Structures

In a spoof Datamation article in 1973, R. Lawrence Clark suggested that the GOTO statement could be replaced by the COMEFROM statement, and provides some entertaining examples. This was actually implemented in INTERCAL, a deliberately esoteric programming language language.

In his 1974 article "Structured Programming with go to Statements", Donald Knuth identified two situations which were not covered by the control structures listed above, and gave examples of control structures which could handle these situations. Despite their utility, these constructions have not yet found their way into mainstream programming languages.

Read more about this topic:  Control Flow

Famous quotes containing the words proposed, control and/or structures:

    On the 31st of August, 1846, I left Concord in Massachusetts for Bangor and the backwoods of Maine,... I proposed to make excursions to Mount Ktaadn, the second highest mountain in New England, about thirty miles distant, and to some of the lakes of the Penobscot, either alone or with such company as I might pick up there.
    Henry David Thoreau (1817–1862)

    Imagine believing in the control of inflation by curbing the money supply! That is like deciding to stop your dog fouling the sidewalk by plugging up its rear end. It is highly unlikely to succeed, but if it does it kills the hound.
    —Michael D. Stephens. “On Sinai, There’s No Economics,” New York Times (Nov. 13, 1981)

    If there are people who feel that God wants them to change the structures of society, that is something between them and their God. We must serve him in whatever way we are called. I am called to help the individual; to love each poor person. Not to deal with institutions. I am in no position to judge.
    Mother Teresa (b. 1910)