Tutor told me my code worked but was unreadable, and she was right
About four months into learning Python, I sent my tutor a script that scraped the city bus schedule for my cousin in Tucson. It ran fine, but she wrote back one line: "I can't tell what any of your variables mean past line 30." I had stuff like `x`, `y`, and `data2` all over the place, and one loop was 40 lines long with no breaks in it. I counted and had 11 variables with one or two letter names in a single file. So over the next two weekends I went back and renamed everything in plain words, split that monster loop into three small ones, and added short comments only where I had to stop and think. Now when I get stuck, I open a file and can tell within seconds what each part is doing without running it. For folks who have been at this a few months, did comments and clear names help you debug faster, or was it something else that made old code easier to pick back up?