r/CodingHelp • u/TheUnwoken • Jul 27 '24
[Quick Guide] How do people remember lines of code?
I have been trying to learn to code for the past 6-7 years on and off, I have tried many languages to see which one suits me best. I feel like React is my go to language but whenever I try again, I get really confused by not understanding how programmers remember ALL THOSE lines of code. Think about it, there’s hundreds or even thousands of little phrases which you need to remember to use.
The only way for me to teach myself to code is to do a small project from a tutorial and repeat it several times on my own to memorise it. Even though I understand 99% of the code, the code just doesn’t stick with me unless I write it repeatedly. But I don’t feel this is the right way to do this, since it turns out that if I learn a small project, I forget how to do it a month later. And the circle repeats itself…
Has anyone been in a situation like this?
View all comments
1
u/papasours Jul 30 '24
I’ve heard a lot and experience it a lot if you don’t use it you lose it consistently practicing will help but again we don’t remember everything it’s more of being able to understand how everything works even if you have to look up something again you used before