On Tue, Aug 3, 2010 at 5:09 AM, Alex <[email protected]> wrote:
> The latest Java Posse episode (<a href="http://javaposse.com/
> java_posse_317_newscast_for_july_29th_2010">#317</a>) features a short
> segment (start around 51:45) of the posse talking about the <a
> href="http://strangeloop2010.com";>Strange Loop conference</a>.  The
> Java Posse are giving away four FREE (as in beer) tickets based on a
> contest.
>
> The contest is:  "Write the strangest loop" (any language is ok).  You
> should post your answer here and list the number (out of 4) you
> possibly could use.  The answer will be judged by the posse (and
> me!).

>From many years ago when I was first getting into Java, I recall this
infinite Java loop pointed out by the Sumatra project
(http://www.cs.arizona.edu/projects/sumatra/hallofshame/):

while (true) {
    try {
        return;
    } finally {
        continue;
    }
}

-Joe
(2 passes)

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to