Just realized my 'clever' variable names made my code unreadable, so whose fault is it really?
Six months back a guy reviewing my code at a meetup in Portland told me my variable names were like reading a riddle. I had stuff like `x2` and `tempThing` and `dataStuff` all over a 200 line script, and he said it took him 15 minutes to figure out what half of it did. I was embarrassed but he was not wrong. Now I write names like `userScore` and `oldPassword` and the code makes sense a week later. But here is where I go back and forth: some people say long names just make lines too chunky and you should keep it short. Is it worth typing more to be clear, or do short names force you to keep functions small anyway? Curious what worked for you when you were starting out.