25
Hit 1000 lines of Python code and it finally clicked for me
I was stuck on loops and functions for like 3 weeks (felt like forever). But I set a goal to just write 1000 lines of code no matter how bad it looked. And right around line 850 or so something just snapped in my brain. Suddenly I understood why you use a for loop instead of copy-pasting the same thing 10 times. I almost quit 4 times during that project because my code kept breaking. But hitting that number made me realize progress is super slow until it suddenly isn't. Has anyone else noticed a specific milestone like this where things just started making sense?
2 comments
Log in to join the discussion
Log In2 Comments
angelas7825d ago
Hit three hundred lines on a JavaScript thing once. Complete garbage code. Broke every other minute. Around four hundred it started clicking. Realized I was writing too much code on purpose. Started trimming stuff down. That was the real turning point for me.
4
mary_kelly24d ago
That 300 line mark is brutal isn't it. I had this one PHP script once that hit 350 lines and I swear it was held together with tape and prayers. Every time I touched one part something else broke. It's funny how you can trick yourself into thinking more code means more progress when really you're just digging a deeper hole. Trimming down is so hard to do when you're in the middle of it though, feels like you're throwing away work. Glad I'm not the only one who hit that wall.
6