Was the creator of this construct a baseball fan?
HAHA UP FOR THE HUMOR!
bLee
2009-03-26 19:24:54
+3
A:
I don't know, but I recall that LISP had a THROW function back in '76 or so. You would throw a value out of some deeply-nested set of parentheses, and where it was caught, it would return that value.
John Saunders
2009-03-26 19:06:30
+10
A:
See Stroustrup's book "The Design & Evolution of C++" - basically, "raise" was already taken.
anon
2009-03-26 19:06:40
+6
A:
From http://www.cs.bgu.ac.il/~frankel/TechRep/pdfs/TR-08-03.pdf
MacLISP was first to introduce catch/throw as an exception handling mechanism for handling exceptional conditions[9]
...
[9]Moon, D. A. The MacLisp Reference Manual. MIT Project MAC, April 1974.
Adam Davis
2009-03-26 19:16:35
@Rob Kennedy: I'm saying that... why throw such question when CS is full of metaphors like throw/catch? Also, many people already answered the question before me.
bLee
2009-03-26 22:37:21
yeah, let's go asking from where did they get this word "stack" ?
Johannes Schaub - litb
2009-03-27 01:31:31