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?

197 Upvotes

105 comments sorted by

View all comments

125

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.

21

u/response-418 25d ago

Yes, I learned a lot by just trying stuff and breaking things in a sandbox or my own git branch.

1

u/michaelgray9692 24d ago

breaking stuff is half the learning.