Hey everyone! I'm a slow learner who really loves programming, but I've noticed that I often tend to memorize pre-written code instead of fully understanding it. I'm curious about how you all approach this. Do you focus mainly on understanding the concepts or do you try to memorize bits of code too? I'd love to hear your strategies and tips!
6 Answers
Don't stress about memorization too much. We all do it to some extent, but it’s more effective just to build projects. When you encounter problems, you’ll learn how to solve them, and this will help form a deeper understanding over time. Curiosity is key—if something puzzles you, dig deeper into it. That's how knowledge really accumulates!
If you memorize stuff, you might forget it later. But once you understand a concept, it's yours forever. It really helps to build things or practice using code in different ways rather than just trying to remember it. Copying and pasting when necessary is totally fine too!
You seem to have a misconception about learning to program. It's not just about memorizing. Think about it like learning to speak—you don't just copy what others say verbatim; you understand the words and then create your own sentences. Writing your original code is crucial. The more you practice and repeat, the better you’ll get at programming. Focus on creating, not just on copying.
Memorizing code doesn't really make sense if you don’t understand what it does, right? When you grasp the concepts, you’ll naturally remember them in the long run—your brain will keep it stored where it matters. If you're worried you'll forget something before you get the hang of it, just jot it down in a text file to reference later instead of cramming it into your short-term memory.
You definitely need a bit of both. Instead of just memorizing code, try to learn the underlying patterns. It’s similar to how you memorize multiplication tables but focus on understanding how and when to use them. Once you get the basics, knowing when to apply different coding techniques is key. As you tackle more complex problems, working with others who can share their insights can really help you grow your skills.
Programming is a skill like playing an instrument or learning a language; it's all about practice. You can’t just read about it or memorize patterns. It's totally fine to have resources like books or Google open while you write and experiment. That hands-on experience is where you’ll see real improvement!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically