The world’s two worst variable names

Posted: July 02, 2013 Comments

View http://petdance.com/2012/04/the-worlds-two-worst-variable-names/

I’ve been trying to sweat the details of my code readability lately. I’m not on a large team of developers, I’m not on a team at all actually. I do, however, need to revisit my own code sometimes years down the line when it comes to long-term recurring projects for clients.

I can’t tell you how many times I’ve used the most awful variable names, and I have no idea why. I have to believe at the time of writing the variables made some sort of sense, but revisiting them a time later is simply horrifying. I’ve found that good variable names increase both readability and longevity of code, so I’m trying to take those few extra moments to make them matter even more.

Get my newsletter

Receive periodic updates right in the mail!

  • This field is for validation purposes and should be left unchanged.

Leave a Reply

Your email address will not be published. Required fields are marked *