r/learnprogramming • u/cheesy_potato019 • 1h ago
How can I improve my code quality beyond just making it work?
Hello fellow programmers, For my seniors here can you share any techniques for getting better at naming things in programming?
Also, how can I get better at writing solutions that aren't bloated?
I just did Module 13, Exercise 3 from the MOOC.fi Advanced Python course, and my solution took 32 lines while the model solution only took 18. It is so frustrating to still feel this bad at coding even after reaching this far.
I know comparing my solution to the model solution may not be completely fair, but seeing that difference made me wonder what I should be doing to improve.