I was copying code from tutorials for months and couldn't build anything on my own, then a friend asked me to explain one line | Coding For Beginners - Freelance Forum - The Community for Independent Professionals
I was copying code from tutorials for months and couldn't build anything on my own, then a friend asked me to explain one line
I started learning Python back in January and did what a lot of people do, I watched video after video and typed along with the instructor. After about 3 months I had notebooks full of code that ran fine, but when my buddy asked me to explain what a for loop was doing in one of my own scripts, I froze and couldn't say a word. That moment in his kitchen is when it hit me that I had been memorizing instead of understanding. So I tried something different, I picked a tiny project, a script that renames files in a folder, and built it from scratch with no tutorial open. It took me 4 evenings and I googled a ton, but I figured out every line and could explain all of it. Now I only copy code if I can rewrite it in my own words after. Did anyone else get stuck in tutorial land for a while, and what got you out of it?