I finally looked at my old beginner code from 8 months back and wanted to hide | Coding For Beginners - Freelance Forum - The Community for Independent Professionals
I finally looked at my old beginner code from 8 months back and wanted to hide
I pulled up my first Python project from about 8 months ago, a little budget tracker with 400 lines in one file, and compared it to the version I rewrote last weekend. The old one named everything `x`, `data2`, and `temp`, had zero functions, and repeated the same 15 lines of input checking in four places. The new one has separate functions and real names, and it only took me about two hours because I finally understood functions. The thing that did it was forcing myself through a course on loops and functions in January instead of skipping ahead to the fun stuff. What was the one habit that made your early code embarrassing to look back at?