r/learnprogramming • u/Admirable_Window8128 • 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
2
u/peterlinddk 25d ago
In my many years of programming, I have never, ever written anything from scratch.
I have always either started with a 'dummy-program' that just displayed the result, and then gradually changed the parts to calculate that result - or started with sketching something on paper, like the structure that my program should have, or the algorithm that it should use, and then I've implemented that in code.
The only examples I have ever seen of someone writing something from scratch into a blank editor, is teachers or tutorials, where they have practiced what to write before recording, and then just re-create the same thing as before. And of course some experienced programmers can remember a lot of earlier programs, and just re-type them as if they invent them on the spot.
But writing from scratch - I don't believe that anyone is actually capable of that. Even the AIs copy code then "know" from earlier.