D
15

Can we talk about how a friend told me my beginner Python code was 'unreadable'?

I mean, they pointed out I was using single-letter variable names like 'x' and 'y' everywhere, so I switched to descriptive names like 'user_score' and 'item_count' after that, and it's way easier to fix my own mistakes now.
3 comments

Log in to join the discussion

Log In
3 Comments
adams.faith
Ugh I totally get that, naming things is so hard at first but it helps a ton
8
uma_nelson
uma_nelson2mo ago
Tell me about it, my first code looked like alphabet soup.
7
casey909
casey9092mo ago
At least alphabet soup is edible, @uma_nelson, unlike my first spaghetti code.
5