Tried copying code by hand from a book instead of typing along, and my bug count dropped hard
I know that sounds like a small thing, so let me explain. For about 5 months I was typing along with tutorials on my laptop, running the code, and moving on when it worked. Then I read somewhere that writing code out on paper first makes you slow down and actually read each line. So I tried it for a week: I copied a small program from a book onto notebook paper before touching the keyboard. Took me 90 minutes for maybe 40 lines. But when I typed it in after, I spotted 3 mistakes I would have missed, a missing bracket and two spots where I mixed up my variable names. Thing is, it also felt slow and kind of dumb, and I'm not sure it trains the same skill as typing real code. So which side do you land on? Is writing code by hand a real learning tool for beginners, or just busywork that keeps you from building things? Curious what worked for other people starting out.
Copying code by hand just trains you to copy code by hand. That 90 minutes for 40 lines is time you could've spent building something and hitting real bugs, which is where the learning actually happens. Spotting a missing bracket on paper is easy because the code is right there and nothing else is going on, that's not the same as debugging when your program crashes at 2am. Beginners need reps at the keyboard, not transcription practice.