DAE think copy pasting code is fine for learning? A crash at 2am changed my mind
Last Tuesday I was building a little to do app in Python and nothing worked. I had copy pasted a chunk of code from a tutorial and spent 2 hours chasing a NameError before I saw I renamed one variable and broke it. The error was on line 47 and the actual mistake was way back on line 12. I used to think retyping examples was a waste of time, but now I type everything by hand and say each line out loud. Found 3 typos in my first week doing that. How do you all handle copying examples from tutorials, do you retype them or just paste and move on?