0
My variable names looked like a cat walked across my keyboard
I spent 2 days debugging a script in Python and it turned out my naming was the problem, not the logic. I had stuff like 'x2b' and 'tempVal3' everywhere because I was rushing through a tutorial on Udemy. A friend looked at it for 5 minutes and said, 'dude, this is just confusing you, not the computer.' Has anyone else hit a wall with bad naming habits that made simple code way harder than it needed to be?
0 comments
Log in to join the discussion
Log In0 Comments
No comments yet
Be the first to share your thoughts on this discussion.