If you could see bad code it would look like this

I was talking with a friend the other day about what bad software code ("smelly code") looks like, but I found it very frustrating. I ran into that a lot in my consulting career; it's hard to describe to a non-technical Project Sponsor or Project Manager why their existing code er ... isn't in great shape.

After that discussion, my friend -- who is an engineer and former electrician -- forwarded the following pictures to me, and asked if this is what smelly code looks like. I could only laugh and say yes, that is exactly what it looks like.

I hope you enjoy these pictures as much as I did. :)

Electric boxes all in a row


Electric wiring


Rube Goldberg heater


Rube Goldberg electric wiring

 I'm sorry, I don't know the sources of these images, and I would like to give them credit. They certainly made my day a little funnier.