V
16

Finally got my first Python script to run without errors yesterday

After 3 weeks of staring at red error messages, I wrote a simple calculator that adds two numbers and it worked on the first try. Has anyone else had that moment where something just clicks for no clear reason?
3 comments

Log in to join the discussion

Log In
3 Comments
wells.christopher
3 weeks straight of error messages is rough... I remember my big click moment was when I finally understood how variable scope works. Spent like 4 days wondering why my function couldnt see the variable I declared right before it. Once I realized functions create their own little worlds everything started making more sense. That calculator win is a good sign though, means your foundation is finally solid.
4
morgan.jason
Dig into what made scope finally click for you was it a specific tutorial or just banging your head against enough bugs? I feel like there's always that one example that makes the lightbulb go on with programming concepts. Would love to hear what resource or explanation finally got through to you.
4
stella22
stella2219d ago
That whole "functions create their own little worlds" thing from @wells.christopher finally made it click for me too. Used to think scope was just some pointless rule, but now I get why it matters.
3