newLISP Fan Club

Forum => Anything else we might add? => Topic started by: rickyboy on November 13, 2007, 02:33:18 PM

Title: Useless Throw Argument Brainstorm
Post by: rickyboy on November 13, 2007, 02:33:18 PM
Recently I had to write an escaping throw in a newlisp program, like this:
(dolist x xs
  (catch
    (let
      ...something...
      (if condition-holds (throw 'escape))
      ...something...)))

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:
(throw 'tantrum)
(throw 'curveball)

You get the idea.  This one is a particular groaner:
(throw 22)

because of what ostensibly happens after a throw of 22.  (* rimshot *)  :-)



Your turn!
Title:
Post by: cormullion on November 13, 2007, 03:21:03 PM
I'll just (throw up) or down if necessary.
Title:
Post by: m i c h a e l on November 13, 2007, 06:43:22 PM
Here are a few:


(throw 'in-the-towel)
(throw 'a-party)
(throw 'away)
(throw 'pillow) ; or rug
(throw 'the-car-into-reverse)
(throw 'underhanded) ; or overhanded
(throw 'momma-from-the-train)


I cannot attest to their funniness or groaniness ;-)



m i c h a e l
Title:
Post by: rickyboy on November 13, 2007, 07:00:57 PM
m i c h a e l, you just reminded me of something -- this offered with apologies to all denizens of Venus:
(throw 'like-a-girl):-) (//http)
Title:
Post by: newdep on November 14, 2007, 03:22:19 AM
(throw life-buoy)



(throw towel-in-the-ring)







(constant 'spoil throw)

(spoil milk)
Title:
Post by: cormullion on November 14, 2007, 04:09:27 AM
been watching Lord of the Rings so:


(throw "doh Baggins")

That's enough...! Please. :-)[/code]
Title:
Post by: Jeff on November 14, 2007, 05:05:39 AM
(throw me-a-bone) here, people.  This is silly.