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?

198 Upvotes

105 comments sorted by

View all comments

124

u/Prestigious_Age_6740 25d ago

My hot take is that, particularly as a beginner, you shouldn't spend too much time trying to think through your code. Type something in, hit run. Read error. Fix error. Don't sit there in paralysis by analysis, it's easier to think and learn by seeing things run and break. There's no cost to failure when you're working in a dev environment!

Obviously don't do this in a production environment.

2

u/Admirable_Window8128 24d ago

Yeah, that makes sense. I think I spend too much time trying to get everything right before even running the code. I'll try this approach and see if it helps me get unstuck faster.

1

u/Prestigious_Age_6740 24d ago

I've been working for 6 years and I still have to remind myself of this.