T
2

My code reviewer said my variable names were like alphabet soup and I finally get it.

They pointed out that 'x', 'y', and 'temp' made my script impossible to follow after a week. Has anyone else had a simple piece of feedback that completely changed your approach?
2 comments

Log in to join the discussion

Log In
2 Comments
miller.susan
Wait, you were still using single-letter variables? I thought everyone learned that lesson in their first internship. I once had to debug a script where someone used 'a' through 'g' for seven different database connections. Took me three days just to map what was what.
4
amy302
amy3023d ago
Three days just to figure out the letters? That's actually painful. I can't imagine opening a file and seeing a, b, c all over the place for something as big as database connections. Did they at least leave a comment somewhere, or was it just pure chaos? What did you even do when you finally fixed it?
5