Write your variable names on a Friday afternoon
Wednesday, June 12, 2013Do you have days where you get to 3pm and your brain is fried? Too much code, too many meetings and too many discussions? I've found a good thing to do during that time. That is the best time for reviewing code readibility.
I've found that at 3pm, I have new insights into variable naming, code structure and function decomposition.
If your code makes sense even when you are braindead, it may be a indicator of overall code maintainability.
Note: I am referring here to reviewing readibility. I cannot promise that you will have any intellectual ability left in your day to actually rewrite the code. That is entirely up to you.