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)

    The preservation of life seems to be rather a slogan than a genuine goal of the anti-abortion forces; what they want is control. Control over behavior: power over women. Women in the anti-choice movement want to share in male power over women, and do so by denying their own womanhood, their own rights and responsibilities.
    Ursula K. Le Guin (b. 1929)

    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)