Useless Throw Argument Brainstorm
Posted: Tue Nov 13, 2007 10:33 pm
Recently I had to write an escaping throw in a newlisp program, like this:
So if the condition holds the second something won't get evaluated.
Well, the throw argument doesn't get used by the catch, in this case; so it could be any value. The argument 'escape after a while sounded kind of boring, and since this is a whimsical crowd (after my own heart), I thought a brainstorm of useless throw arguments was in order. The whole expression must be either as funny as possible or as much of a groaner as possible.
I'm shooting for the latter for my entries:
You get the idea. This one is a particular groaner:
because of what ostensibly happens after a throw of 22. (* rimshot *) :-)
Your turn!
Code: Select all
(dolist x xs
(catch
(let
...something...
(if condition-holds (throw 'escape))
...something...)))
Well, the throw argument doesn't get used by the catch, in this case; so it could be any value. The argument 'escape after a while sounded kind of boring, and since this is a whimsical crowd (after my own heart), I thought a brainstorm of useless throw arguments was in order. The whole expression must be either as funny as possible or as much of a groaner as possible.
I'm shooting for the latter for my entries:
Code: Select all
(throw 'tantrum)
(throw 'curveball)
Code: Select all
(throw 22)
Your turn!