Subscribe
Recent Tweets
About Me

I've worked as a consultant and software developer in the financial industry for over 10 years. I've worked for three of the top five Canadian banks in both retail banking and capital markets. I'm currently working with a small consulting firm in downtown Toronto.

« The future of software | Main | Integrating Uploadify with Java using Apache Wicket »
Sunday
Aug222010

The greatest line of code ever

if (statusIsNotValid.compareTo( Boolean.FALSE ) != 0) skipValidation = false;

I don't know what's more shocking, that someone who calls themselves a professional programmer wrote that piece of... whatever... or that it wasn't clubbed to death like a baby seal during a code review. If you ever find yourself working in a team that doesn't see the importance of code reviews, remind them that they could easily wind up with a few million lines of... that.

(Taken from The Daily WTF.)

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>