Aaron Konstam wrote:
On Thu, 2006-12-28 at 08:36 -0500, Matthew Saltzman wrote:
On Wed, 27 Dec 2006, Larry Phillips wrote:
Ah, reminds me of the old proposal to replace GOTOs with COMEFROMs. They
worked like this: As you were reading a sequence of statements you'd see
COMEFROM <line#>
The following statements would be executed if control passed through in
line or if control was received by a branch from <line#>. The fun part
was that there was no indication to the reader at the statement <line#>
that control transferred from there to elsewhere in the program.
Made GOTOs seem downright comprehensible...
INTERCAL!
http://catb.org/~esr/intercal/
Oh, but older than that...
http://en.wikipedia.org/wiki/COMEFROM appears to be fairly comprehensive.
--
Matthew Saltzman
I hope everyone realizes that the COMEFROM is a joke. A language with a
COMEFROM statement is impossible to compile.
--
=======================================================================
Measure twice, cut once.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx
Sorry, I'm not seeing why this is a syntactical impossibility. That it is intended as a joke I don't doubt. "Spaghetti code" would be too generous.