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:

    To coƶperate in the highest as well as the lowest sense, means to get our living together. I heard it proposed lately that two young men should travel together over the world, the one without money, earning his means as he went, before the mast and behind the plow, the other carrying a bill of exchange in his pocket. It was easy to see that they could not long be companions or coƶperate, since one would not operate at all. They would part at the first interesting crisis in their adventures.
    Henry David Thoreau (1817–1862)

    The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.
    Philip K. Dick (1928–1982)

    The American who has been confined, in his own country, to the sight of buildings designed after foreign models, is surprised on entering York Minster or St. Peter’s at Rome, by the feeling that these structures are imitations also,—faint copies of an invisible archetype.
    Ralph Waldo Emerson (1803–1882)