Thursday, July 12, 2007

When comments suck

Here are some big dumb comments I stumbled upon today:

con = getConnection(DB_POOL); //get the database connection
stmt = con.prepareStatement( query ); //prepare the statement
rs = stmt.executeQuery(); //execute query


This code is Department of Redundancy Department Approved /*approved by the department of redundancy department*/

I love that the variable names are so short and unclear.

0 comments: