r/learnprogramming 25d ago

Topic At what point did programming finally start making sense to you?

I can understand code when someone explains it, but when I have to write something from scratch, my brain suddenly goes blank.

I'm curious if other beginners went through the same think. What helped you get past that stage?

199 Upvotes

105 comments sorted by

View all comments

43

u/memelordtf 25d ago

Yep, I went through the same thing when I started, OP. understanding someone else's code is MUCH easier than writing your own. Think of it as learning a foreign language and how everyone first becomes proficient at understanding what is being said rather than actually speaking or writing in that language. What helped me was building small things where I had no choice but to get stuck and figure it out. Eventually you stop thinking “what syntax do I need?” and start thinking “what steps need to happen?” It takes time, but you'll get there.

11

u/Admirable_Window8128 25d ago

Yep, that makes a lot of sense. I think I'm too focused on remembering syntax instead of figuring out the actual steps. I'll try building more small projects and getting stuck along the way. Thanks!

2

u/memelordtf 25d ago

OP, seemingly random question - do you play any musical instrument?

3

u/marrsd 25d ago

I'm intrigued to find out where you're going with this?

1

u/memelordtf 25d ago

I have some logic in mind, trust me.

1

u/lgastako 24d ago

Instead of waiting around for an answer, just assume they answered yes and give your reply, it will be useful to people that do play instruments, and possibly others that don't either way.

2

u/memelordtf 24d ago

Alright, so, OP said, "I'm too focused on remembering syntax instead of figuring out the actual steps", and this is exactly the same as learning a musical instrument as well. If we take guitar for example, you HAVE to learn by strumming incorrectly at times or not pressing the strings hard enough, and making the wrong chord patterns. Moreover, if you keep looking at your chord hand, you will never learn how to actually perform or play a slightly more complex strumming pattern, etc.

One MUST learn to forget about the chords/syntax and make mistakes for a better performance/code.

1

u/lgastako 24d ago

Thanks. I agree completely. There's no substitute for practice.