Two years ago my Python scripts were 40 lines of copy paste, now they are 6
I used to write the same for loop over and over in every script because I didn't know functions could take arguments. I finally sat down with a free tutorial from a guy in Austin and learned about return values, and it clicked in about an hour. My file cleanup script went from 40 lines of copy paste down to 6, and I actually understood every one of them. Before that I was too scared to touch my own code in case I broke it. What was the one beginner idea that made your code suddenly make sense?
The thing that unlocked it for me was learning that variables are just labels pointing at stuff, not boxes holding stuff. Once I got that, I stopped being scared of passing lists into functions because I could see when I was handing over the label vs making a copy. That one idea fixed half my weird bugs where stuff changed when I didn't want it to. Did the Austin tutorial get into that at all or was it mostly about functions?