←back to thread

221 points todsacerdoti | 2 comments | | HN request time: 0.539s | source
Show context
seabass ◴[] No.44506423[source]
I love this sort of cs history. I’m also curious—why do we “throw” an error or “raise” an exception? Why did the for loop use “for” instead of, say, “loop”?
replies(7): >>44506448 #>>44506467 #>>44506568 #>>44506657 #>>44506785 #>>44506943 #>>44507014 #
1. antod ◴[] No.44506448[source]
I'm guessing "throw" came about after someone decided to "catch" errors.

As for "raise", maybe exceptions should've been called objections.

replies(1): >>44511745 #
2. zahlman ◴[] No.44511745[source]

  RuntimeObjection: autopsy report changed contents during cross-examination