r/learnprogramming • • 1d ago

Advice on learning code for an ixd student

Hello , I’m an ixd student and learning how to program caught my attention. I started with html as my first language and I’m still on the basics, but I think I got the concepts of it, html is the foundation , css how it looks, and JavaScript the functionality of it and blah blah. However I also want to learn how to back end, and only know little about python. One of my projects in web design class is to make a portfolio website, but I want to include fancy stuff like motion graphics and little stuff on it. Some of it includes Java script and I know nothing about it. In today’s age, I like to use Ai to help me code, and understand what function each code does, but it feels discouraging or wrong having a language included that I know nothing about it. Like I said before I only know some parts of html and little of css and 0 of JavaScript. My other problem is that once I’m done with a project , and start another , I don’t remember anything. Am I dumb?? Is my memory bad?
How do programmers handle this problem?? How do programmers remember languages??

2 Upvotes

10 comments sorted by

2

u/Dubiisek 1d ago edited 1d ago
  1. If you are in JS don't learn python, learn node for back-end as that is the "natural" way/connection
  2. If your goal is to learn, do not use AI to help you code, in your IDE turn off auto-completion and code suggestions as well you need muscle memory, not getting fed things you don't even understand, you can use it as a mentor but you need to setup a proper space with instructions otherwise it will just feed you answers and you will learn squat
  3. HTML and CSS aren't really programming languages; they are markup languages
  4. With how beginner you are I'd suggest a course like 100 devs/Leon Noel, because he is very beginner friendly and the community around his 0 to hero is amazing(https://communitytaught.org/), Leon can get very yappy so if that's not your tea, look up Odin project
  5. "How do programmers handle this problem?? How do programmers remember languages??"

By repeated usage. Even then they don't remember all of it. I've been at it for years and I always have something like https://devdocs.io/ open on 2nd screen to search/reference syntax. You don't need to 100% remember everything perfectly, nobody does, you need to have a general idea of what's out there and know how and where to search for it

2

u/OilyComrade 1d ago

I still have to google array methods every week and ive been coding for ages

2

u/Dubiisek 1d ago

Yep, same, I have general understanding of what methods there are but remembering their precise name and syntax? hell nah.

1

u/OilyComrade 1d ago

slice and splice still get me every time, one of them changes the original and I can never rember which

1

u/gm310509 9h ago edited 9h ago

But that is the key point...

It is more important, IMHO, to know that something can be done and how to use it than remembering the specific syntax - especially if it is something you do less frequently.

The critical companion skill is known how to efficiently look up the syntax and examples when you need to.

With those two skills, you pretty much have programming super-powers (again IMHO).

but remembering their precise name and syntax?

That is where IDE features such as code completion and context help popups can be helpful.

1

u/Organic-Complaint-90 1d ago

Guys, how do we tell him ?

1

u/gm310509 9h ago

I like to use Ai to help me code, and understand what function each code does, but it feels discouraging or wrong having a language included that I know nothing about it.

The likely reason that you don't know is because you are relying too much on AI to do stuff for you. It is not unlike asking your buddy to do your work for you, or simply copying his work. Sure, you've got something that (maybe) works, but you have no idea how it works - because you didn't do it yourself.

Another analogy I use is learning to ride a bike - if all you do is watch videos or ask an AI how to ride a bike, you won't learn. Same goes if you ask your buddy to practice riding your bike, no matter how much you watch him and/or he explains it to you, you won't know how to ride a bike.

It is the same for computers - if you don't do stuff yourself you won't really know what is going on. And when (not if) the AI fails you, you also won't know how to fix it.

It sounds like you have got a bit of a portfolio of HTML work. Go back to the beginning, try to understand what you have and how it works. Make a few minor changes - changes that you can undo later - and see how it affects the result. also try to understand why it doesn't affect the result if there appears to be no change.

1

u/mscott-61 6h ago

For the portfolio, build one small interactive feature in JS yourself. If stuck, ask AI for a hint; later, recreate it from a blank file to see what you can recall.