I'm a first-year student majoring in math and data science, drawn to the coding aspect but chose not to go into computer science as I feel data science aligns more closely with my math background. In the future, I also want to teach. Currently, I'm learning Python and R, and I find that while I grasp the concepts in lectures, I often have to refer back to my notes or online documentation when tackling projects or assignments, since I can't seem to remember the code. Is this a bad habit, or is it normal? Will I get better over time, or are there ways I can improve my coding recall?
5 Answers
It's completely normal! Syntax retention takes time. I've been coding for over 20 years and still find myself Googling things regularly, especially if I'm working in a language I'm less familiar with. Don't stress about memorizing everything—focus on understanding concepts instead. Those patterns will become clearer with practice, and it'll get easier!
What you're doing is totally fine! The key is understanding what you're supposed to do rather than memorizing every function name. You're still in the learning phase, and as you keep practicing, the important syntax will stick in your head while you continue to look up the rest. It's part of the learning process!
Definitely normal! Every programmer Google searches a lot, regardless of their experience level. What you're doing—understanding concepts and knowing how to find the right code—is exactly what you'd do in a real job. No one writes complex code from memory during interviews and never looks anything up afterward. Just remember, the more you look something up, the more likely it is to stick with you. Keep building projects, and over time, you'll recall more on your own!
Looking things up is actually a smart move. If you were trying to memorize everything, that's when you should worry. Just make sure you continue to build projects and apply what you learn, and don't hesitate to use resources when you need help. It's a sign of a good programmer!
Honestly, it's almost impossible to memorize everything, especially when you work with multiple languages. The more you code, the easier it gets to connect concepts from one language to another. You'll start recognizing syntax over time, but it's fine to look up things you forget—everyone does that!

This reassures me a ton! I see so many people on TikTok coding just with documentation on display, and I find that so overwhelming. Thanks for the encouragement!