D
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 In
3 Comments
jordan_torres
Copying code without the why, classic. Williams.gray's notebook idea is a lifesaver.
5
riverhill
riverhill2d ago
Jordan_Torres, my notebook is just question marks so far.
3
williams.gray
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