Bad Code is Killing Me

5

At least once a week I am approached with a rewrite or modification to someone else’s code.  I decided to take on the most recent mod for a friend and am not enjoying it one bit.  It is getting harder and harder for me to take on new projects because of garbage like this :

Bad Code

What the hell kind of form validation is that?!

My question is how does this pass company standards?  How are people getting away writing this rubbish and being paid top dollar over someone who codes to standards and follows MVC.

I am definitely no PHP guru – but for god sakes start writing maintainable code people!

If you are wondering what inspired this rant – take a gander at this gimmicky product… I need a drink.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google Bookmarks
  • Yahoo! Buzz
  • TwitThis
  • Live
  • LinkedIn
  • Pownce
  • MySpace

Comments

5 Responses to “Bad Code is Killing Me”
  1. That’s just… wow… the best two words I can say is ’shit code’ and pure garbage. It’s bad enough that I laughed at first glance before even bothering to read what the code is for(validation).

  2. Y2P says:

    Wow amazing, this programmer must’ve been part-bird because they really love nesting! .

  3. Wow, that is worryingly bad. I feel for you having to maintain code like that :S

  4. Jeff says:

    I’ve been around long enough to know the benefits of design patterns, but believe it or not when I was in college a few years ago, they actually taught us to write nested code like that example. It’s absolutely awful.

    Maybe the saying is true: “Those who can’t do, teach!”

  5. Craig says:

    “this programmer must’ve been part-bird because they really love nesting! ” lol thats funny shit.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Security Code: