31
A 3 day Udemy course flipped how I debug code
I used to just stare at my console errors for an hour, guessing at fixes. Then I took a beginner Python debugging course that showed me to break the problem into tiny parts and print each one. Now I find the line number and solve it in 10 minutes. Has anyone else found a course that changed their workflow this fast?
1 comments
Log in to join the discussion
Log In1 Comment
ivan23020d ago
Caught a YouTube video from a guy who used to work at Google, and he said the same thing about printing variables. He called it "tracing" and said it's way faster than using a debugger tool for small bugs. I tried it on a nested loop issue last week where my list order was getting scrambled, and breaking it into three prints showed me the exact spot where the sort was messing up. Real eye opener, honestly. Makes me wonder why nobody teaches this in school, you know? It's such a simple trick but it saves so much time.
6