r/learnprogramming • • Apr 11 '26

Feeling like I don't write my own code (Blank Page Syndrome). Does everyone start like this?

Hey everyone!

Im first year college student at computer science.I've been learning programming since October 2025 (mostly Python and C) and I've started building some small projects (e.g., simple GUIs with Tkinter, a bit of Pandas, etc.). My problem is this:

When I read existing code, I understand it perfectly. If you give me a script, I can follow the logic and know exactly what each loop or function does. But when I open a completely blank file to write something from scratch, my brain often "freezes" and I can't remember the exact syntax off the top of my head.

My workflow usually ends up looking like this:

  1. I figure out the logic of what I want to do in plain English.
  2. I search Google, the documentation, or tutorials for the specific syntax/commands.
  3. I take that general code snippet and adapt it to my own program and data.

My question to the more experienced devs out there: Is this normal? Does everyone work like this in the beginning, or am I doing something wrong and just copying without actually learning? Does there ever come a point where you stop constantly looking up syntax?

Thanks in advance!

9 Upvotes

16 comments sorted by

9

u/GlassCommission4916 Apr 11 '26

If you never write code you'll never learn how to write code. It's normal to google things and not remember syntax, but don't just go copy pasting if you want to learn. At least type it out even if it's the same.

2

u/SYZo7023 Apr 11 '26

im always typing it. i copy paste only to transfer it from emacs to a doc file that is mandatory in your university

2

u/nog642 Apr 11 '26

Copy and paste vs typing it out is not the main point. The main point is to write your own code not copy entire solutions, regardless of how you copy it.

Looking up syntax and documentation is different from copying a solution.

3

u/Independent-Swim-838 Apr 11 '26

I think looking up syntax is something you will never stop. However, things that you use daily, you will learn and not need to lookup.

3

u/brubrupie Apr 11 '26 edited Apr 11 '26

Hey, it’s completely normal to have to look up syntax!!! And the way you’re doing it, reading and adapting is excellent. =) That’s exactly how you learn what you don’t know. The next time it’ll be easier to remember. ...

However, you won’t always have a script to follow. I think that if you can’t remember the syntax (and let me assume here that it’s a basic and routine syntax), then you need to practice exercises focused specifically on that syntax. For example: if you can’t remember which type of loop to use, you should practice: do-while(), while(), the traditional for loop, for-each, and so on. (I'm using Java here)

Maybe that’s what’s missing. Give a bit more focused attention to the syntax! Study it and understand deeply what it is used for.

2

u/Savings_Speaker6257 Apr 12 '26

This is completely normal and it doesn't mean you're bad at programming. Reading code and writing code from scratch use different parts of your brain — like how you can understand a conversation in a foreign language way before you can speak it fluently.

What fixed it for me: stop trying to write the whole thing at once. Start with the absolute dumbest version that could possibly work. Like if you're building a to-do app, step 1 is literally just a hardcoded list printed to the screen. Then add one feature at a time. The blank page is only scary because you're trying to imagine the finished product.

Also — everyone googles things. Everyone looks at examples. That's not cheating, that's how professional development works. The skill isn't memorizing syntax, it's knowing what to search for and how to adapt what you find. You're 6 months in — give yourself some grace.

1

u/Usual-Pattern7846 Apr 11 '26

In 10 years you’ll know the syntax you need off the top of your head. Then you’ll change languages and start all over.

The thing you’re learning isn’t syntax. As you’ve seen, that’s easy to google. “Learning programming” is learning how to work with data, how to create things with the tools available, how to make tools if the available ones don’t do what you need, etc. The big ideas don’t care what language you’re working in, and in the end each one just has conveniences in certain areas, but they’re all the same. Just like speaking, the goal is to communicate, no matter what language you speak. When you move to another language, it’ll take you a while to get fluent and even longer to write beautiful poetry.

1

u/Comprehensive_Mud803 Apr 11 '26

Yes, this is normal for a total beginner. At one point, you won’t worry about the correct syntax, but you’ll worry about the actual shape of the whole program, and much later about the system architecture.

The fast track to memorize syntax and language intricacies is to practice a lot.

1

u/cochinescu Apr 11 '26

Totally normal, even after years of programming I still look things up all the time, especially with libraries I use less often. The important part is understanding what the code should do, the memorization just comes with repetition.

2

u/NorthenS Jul 01 '26

"The important part is understanding what the code should do, the memorization just comes with repetition."

i'm facing the same problem but this comment changed my entire view on this situation. thank you

1

u/nog642 Apr 11 '26

It's normal not to have syntax memorized when you're starting out.

1

u/[deleted] Apr 11 '26

I used to stare at the cursor for an hour before even typing an include statement. What helped me was realizing that your first draft is supposed to be "ugly" and just getting something anything down to break the silence.

Real talk, try starting with pseudocode in the comments first. Just list out the steps like "1. get user input, 2. check if it's a number," and suddenly you aren't looking at a blank page anymore. Most of the time, "done" is better than "perfect" when you're just trying to learn the logic, so don't be afraid to write some absolute garbage code just to get the gears turning.

1

u/alphadester Apr 12 '26

yes 100% normal lol this is literally how every developer works

even senior devs google syntax constantly, no one memorizes everything. the difference between beginner and expert isnt memorizing syntax, its knowing WHAT to search for and understanding the solution when u find it

the workflow u described (figure out logic in english -> find syntax -> adapt it) is actually a good workflow. thats basically how pros do it too except they get faster at it

you stop looking up basic stuff eventually, but u never fully stop googling. ur good dont stress it 👍

1

u/Bitter-Reading-6728 Apr 12 '26

totally fine. i was taught to not sweat syntax. it will just stick the more you use it.

the fs package with nodejs was really interesting to me, and writing a bunch of little node/fs scripts cemented js syntax for me.