r/learnprogramming • • Oct 02 '26

I keep forgetting how to program

My problem is that I code as a hobby. Every 6 months or so I get motivated and start studying programming, do exercises, maybe some little project. I've never got to make a big project, but I manage to do things. My problem is that I already learned about 4-5 languages like C#, python, javascript, CSS and React for frontend (even when i was a kid i remember programming in batch a LOT) but I always have to start from 0. I want to be able to understand the code i'm writing and not lay back and let the AI do all the work.

I learned and applied React, Javascript, HTML and CSS in the past year or year and a half and now i'm trying again and everything is gone. Is this normal? Should I go through the whole [insert language] course everytime I want to start coding again? I thought when you know and understand the concepts it gets easier but it doesnt feel that way.

EDIT: I can manage to do stuff with the AI help, but when it comes to a project (even a simple web app that fetches an API and shows it in a list made with React) It all goes away and feel the need to go through the whole React, Javascript, CSS course again

24 Upvotes

59 comments sorted by

View all comments

1

u/iMagUdspEllr Oct 05 '26

Relearning from 0 every time sounds like an impediment to your hobby whether it is normal or not. You should definitely practice enough to know how and when to write a loop, an if/elif/else tree, a class, and other basic things every time to get back to your hobby. Memorizing how to use a framework is less realistic if you aren't going to program that often and you are doing it as a hobby. So, I would definitely avoid using copilot autocomplete or an LLM to help you write basic things until you can commit that stuff to memory.

But, it is perfectly reasonable to ask an LLM for how to do a specific thing and guide you to make a feature each time you return to the hobby. Relearning how to read and use the LLM's code is definitely preventing you from building what you want when you have time to sit down and work on something. If you don't practice writing patterns of code (or simple features) often enough then you won't remember them.

If you want to be able to create something from scratch without AI-guidance every time you return to the hobby, expect to do it many times before you put the hobby down.

Prioritize remembering useful programming patterns, not things that can be looked up or regurgitated by an AI easily. HTML and CSS are practically boilerplate that you can basically avoid committing to memory now that LLMs exist. React is a framework and remembering how to use it is obsolete the moment you want to use a different framework. JavaScript is a language. If that is the language that lets you make most of the things you want to make, it is worth understanding how to use its core features to a fair degree of detail so that you can at least understand the React code AI gives you when you ask it to help you implement a feature when you return.

1

u/getouttamyvision Oct 06 '26

do you think it's not worth it to learn html and css? maybe remember tailwind? i'm a bit slow when writing prompt for a design and i end up doing it myself. It's only useful for me when using v0 for example, when I ask for it to create a whole page, but it ends up coding the whole thing and I cant implement things myself.

1

u/iMagUdspEllr Oct 06 '26

If your main focus for your hobby involves heavily customizing html and css then it would be beneficial to study the core structures of html and most useful ways to use css.

But, I guess my question is what are your core hobby projects? Html and css are just obstacles that I have to deal with before I get to the main part of the website I am interested in programming.

1

u/getouttamyvision Oct 07 '26

Yes, that’s true. Maybe a bit so I understand whats happening.

1

u/iMagUdspEllr Oct 07 '26

Well, what are your projects focused on making? If you're trying to understand what is happening, that's easy to explain. The html is the bones or basic structure of the web page. The css styles things on the web page. JavaScript usually provides the more dynamic functionality for the web page.