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.