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:

    He [Roosevelt] has made some speeches that indicate that he is going quite beyond anything that he advocated when he was in the White House, and has proposed a program which is absolutely impossible to carry out except by a revision of the Constitution.
    William Howard Taft (1857–1930)

    In Vietnam, some of us lost control of our lives. I want my life back. I almost feel like I’ve been missing in action for twenty-two years.
    Wanda Sparks, U.S. nurse. As quoted in the New York Times Magazine, p. 72 (November 7, 1993)

    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)