Java: Helping the world build bigger idiots

Peter Gutmann pgut001 at cs.auckland.ac.nz
Mon Sep 19 07:37:45 EDT 2005


Found on the Daily WTF, http://www.thedailywtf.com/forums/43223/ShowPost.aspx:

  try { 
    int idx = 0; 
    
    while (true) { 
      displayProductInfo(prodnums[idx]);
      idx++; 
      } 
    } 
  catch (IndexOutOfBoundException ex) { 
    // nil
    }

The editor also comments that when he got the first few of these submitted he
rejected them as being faked, but ended up with so many that he realised this
usage must be relatively common.

Peter.

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com



More information about the cryptography mailing list