O
28

That Python course I bought taught me bad habits I'm still unlearning

I used to copy-paste code from tutorials without really understanding it, thinking that's how you learn. Then I spent 6 hours debugging a simple loop in my first real project last week. A senior dev at a meetup in Chicago pointed out I was using global variables everywhere from those beginner lessons. Now I write everything in small functions with clear inputs and outputs. Has anyone else found that popular beginner courses teach shortcuts that backfire later?
2 comments

Log in to join the discussion

Log In
2 Comments
cole_hall
cole_hall8h ago
Oh man, same here. Had to relearn everything from scratch after my first tutorial cram session.
4
emery_craig
emery_craig59m agoTop Commenter
@cole_hall at least you didn't name all your functions 'doTheThing' like me.
4