25
Question about why so many tutorials skip the 'why' behind the code
I've been following a Python course for about two weeks, and I keep seeing people just copy the syntax for a 'for loop' without anyone explaining that it's basically just telling the computer to repeat a task a set number of times, which really matters when you're trying to fix your own broken code later.
3 comments
Log in to join the discussion
Log In3 Comments
jordan_torres25d ago
Copying code without the why, classic. Williams.gray's notebook idea is a lifesaver.
5
williams.gray25d ago
Tutorials that skip the why are the worst. I started keeping a notebook where I write down what each piece of code actually does in my own words. It forces you to figure out the logic.
1