Am I the only one who used to write everything in one giant file?
Honestly, when I first started learning Python about eight months ago, I wrote my entire first project, a simple text-based game, in a single script that was over 500 lines long. It was a mess of functions and variables all crammed together, and if I needed to change one thing, I'd break three others. I got so frustrated trying to find a bug that I almost quit. Then I watched a video from a guy named Corey Schafer where he talked about breaking code into modules. I tried it on my next project, making separate files for game logic, player data, and the main loop. Tbh, it was a bit confusing at first, but after a week it just clicked. Now I can't imagine going back to that old spaghetti code. Has anyone else made a switch like this and found a specific way to organize their files that really helped?