The Stressed Listener

Thursday, April 16, 2009 1:43
Posted in category Technical

One of the most hillarious code segments I have come across in recent times..

public class StressedListener implements PeopleListener {

Stack<Toffee> myToffees;

public void doListen(Person someone) {

try{

someone.wontShutUp();

} catch (OMGCantStandItException ex) {

while(someone.isMouthMoving()) {

someone.feed(myToffees.pop());

}

} finally {

self.enjoyPeaceAndQuiet();

}

}

}

Liked the post? Share it!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Reddit
  • Slashdot
  • Technorati
  • TwitThis
  • Print
  • email

No related posts.

You can leave a response, or trackback from your own site.

One Response to “The Stressed Listener”

  1. Ankesh says:

    April 19th, 2009 at 09:46

    good one!

    ReplyReply

Leave a Reply