Gentlemen, a call to arms!

David Cantrell david at cantrell.org.uk
Tue Oct 17 14:12:55 BST 2006


On Tue, Oct 17, 2006 at 10:11:41AM +0100, Nicholas Clark wrote:

> But the impression I get is that many websites are merrily pointing out bad
> perl. How come I'm now aware of websites merrily pointing out bad
> {python,ruby,php,javascript} ?

One of my favourites is thedailywtf.com.  The front page currently has
these beauties ...

  public static void checkRational(int rational)
  {
     int myRational = rational;
     try
     {
     }
     catch (Exception ex)
     {
        checkRational(myRational);
     }
  }

and ...

  1000 GOTO 1002
  1001 GOTO 1010
  1002 GOTO 1001

and ...

  #define SIZE_2048 2048

  ...
  BYTE buffer[SIZE_2048];  /* data buffer 1024 bytes long */

and ...

  CREATE TABLE [DtxSurveys] (
  [Status] varchar (8000) NULL, 
  [Resp] varchar (8000) NULL, 
  [Last] varchar (8000) NULL, 
  ... snip ...
  [Supervisor_Name] varchar (8000) NULL, 
  [Supervisor_CUID] varchar (8000) NULL, 
  [Supervisor_UID] varchar (8000) NULL, 
  [File_Data_Date] varchar (8000) NULL)

-- 
David Cantrell | Official London Perl Mongers Bad Influence

What is the difference between hearing aliens through the
fillings in your teeth and hearing Jesus in your heart?


More information about the london.pm mailing list