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:

    ...a fixed aim furnishes us with a fixed measure, by which we can decide whether such or such an action proposed is worth trying for or not, and as aims must vary with the individual, the decisions of any two people as to the desirableness of an action may not be the same.
    Anna C. Brackett (1836–1911)

    He took control of me for forty-five minutes. This time I’ll have control over him for the rest of his life. If he gets out fifteen years from now, I’ll know. I’ll check on him every three months through police computers. If he makes one mistake he’s going down again. I’ll make sure. I’m his worst enemy now.
    Elizabeth Wilson, U.S. crime victim. As quoted in People magazine, p. 88 (May 31, 1993)

    It is clear that all verbal structures with meaning are verbal imitations of that elusive psychological and physiological process known as thought, a process stumbling through emotional entanglements, sudden irrational convictions, involuntary gleams of insight, rationalized prejudices, and blocks of panic and inertia, finally to reach a completely incommunicable intuition.
    Northrop Frye (b. 1912)