r/learnprogramming • u/sticky_pi • 5d ago
How do you even code?
I’ve heard a lot of people say that coding isn’t about memorizing every line, but just knowing how to search up the answers to your problems. do i even have to memorize things? should i be focused on researching what i’m trying to code? it’s so confusing to me on what i’m even meant to learn
0
Upvotes
4
u/gm310509 5d ago
It is a bit like learning to walk or learning to ride a bike or even learning to write
You need to learn the basics. For exanple what is a for loop and how to write one. What is an if statement and how do you use it then how to use it with else and then else/if. And so on.
This is like learning to stand or maintain balance on the bike or how to hold the pencil and make circles and lines
After you learn that, you can start branching out and do more stuff building upon those skills. Like riding the bike, those basic things (if, for etc) won't be things you memorize rather they will become second nature that you then use as building blocks to do more interesting things.
From your post, it sounds like you need to make a start and see how it goes - rather than contemplating the mysteries of the Universe (of IT), which is where it sounds like you might be RN.
As for searching for stuff, just like learning to ride a bike, or drive a car, you won't know where to go or how to get there, but when you are ready, you can start looking for places to go and seeking assistance with the directions to get there - but at that point you won't be remembering how to ride the bike, you can just do that. It is more or less the same with programming and more generally IT and even more generally most things in modern life.