How Do You Improve Your Code Recall and Stop Relying on Documentation?
Asked by
_plaster_dust
I've been learning programming for a few months now and I've got a grasp on things like loops, functions, and classes. The problem arises when I try to write code from scratch โ I freeze up and can't remember the exact syntax for things I've used before. I find myself looking up the same basic concepts over and over again, and while I've heard that it's normal to look things up, I can't shake the feeling that I'm not really learning if I have to Google simple things like how to write a for loop each time. How do experienced programmers really manage to recall syntax without constantly depending on documentation? Can you genuinely build a strong memory for coding concepts, or is it mainly about knowing how to search effectively?
Answers
Most programmers remember the common syntax pretty well, or at least enough to piece together a solution on-the-fly. But, honestly, a big part of the job is Googling for examples and documentation. Knowing how to search effectively is also a skill you develop over time, which is just as important as the coding itself.
Reply to this answer
Add your answer
Answers are reviewed before publication.
2 cups uncooked rice: Thatโs super reassuring! I can often recognize code when I see it, but writing it from memory is a whole different battle. It really feels like the knowledge should be there, but it's just not!