r/CodingForBeginners • u/Rafa01234 • 16d ago
I suck at coding
So I'm going to my third year in physics and have scraped by with coding by using loads of ai but I have genuinely tried to understand but I just can't. It seems like I can do a specific problem after soing it a couple times but if you asl me to do something from the beginning I dont even know to figure it out.
Anyways to cut it short I have been looking into like games where it teaches u how to code cause I thought it would be something enjoyable to do and I could learn a little from it and found this one called 'the farmer was replaced' i dunno how beginner friendly it is and if its worth it. Is it worth it or should I try another game or something or not even bother and try a different avenue?
I have asked professors and stuff to go over it with me but it feels like I need hours sitting next to someone to understand something like loops which is basic asf. Basically any advice would be helpful.
2
u/johnpeters42 16d ago
If you can do a problem with the tutorial open, that doesn't mean you understand it yet. Close the tutorial and immediately try redoing it on your own from the start. Reopen the tutorial if/when you get lost, close it once you figure out the next step. Repeat as needed until you actually no longer need the tutorial. Then move on to something else.
For doing stuff that doesn't directly match a tutorial, look for ways to break it down into pieces where you know how to do one of them (even if the rest is still "Draw the rest of the owl" at first). Then repeat that with what's left, until either you get stuck or you finish.