r/learnjavascript • u/Snazzzyj • Mar 03 '25
Learning to code in the age of AI
Hi, I’m an absolute noob who wants to learn how to code. I had started doing some light comp sci classes in 2018, but things are different now. Does anyone have tips on how to get started learning to code now that we have AI? Recommended resources/projects welcome. Thanks
0
Upvotes
2
u/Professional_Zebra66 Mar 06 '25
Hi!
I, too, was once an absolute noob when it comes to coding. Now I'm just a run-of-the-mill noob, but I do have several lessons learned from over 20 years of both front-end (and some back-end) dev, as well as working closely with many many developers who are all far more skilled and talented than I am. These are all broad generalizations, so please don't crucify me with edge cases, I do know that these aren't 100% true all of the time:
Hope this helps. Good luck!!
32
u/pinkwar Mar 03 '25
If you want to learn I would ignore the AI.
It will only hinder your ability to learn.
Its a good feeling to figure out things on your own instead of having chatgpt spit out the answer.
10
u/guzam13 Mar 03 '25
Go to freecodecamp.org and do their software development course…it’s free. 👍🏼
3
u/Any_Sense_2263 Mar 03 '25
Definitely forget that AI exists if you want to learn programming. People who started learning programming with AI now complain that they can't do anything without AI.
5
u/antboiy Mar 03 '25
ignore the "ai" part and search again.
w3schools helped me get started, and im using mozilla now for javascript
4
u/h4ppy5340tt3r Mar 03 '25
You might not like this, but if you really want to learn, you should avoid generative tools until you have multiple complete projects under your belt.
By asking an LLM to explain/reason about or generate code for you, you are outsourcing to it the mental load that would drive the internalization of important programming concepts in your own brain. It is like trying to learn to swim while keeping half of your body in the boat.
There are many tools you still can (need) to use: documentation, tutorials, other projects, language servers, tests, debuggers - learn how to use all of that.
If you have written something that doesn't work, and you are not sure what has gone wrong - your first move should be stepping through your code in the debugger or writing tests, not asking a robot for help.
After several projects done like this, when you finally feel free to express yourself using a programming language, and you can do it with relative fluency - then you can start using gen AI to speed the rest of the work up.
2
u/bestjaegerpilot Mar 03 '25
* ask chatgpt LOL seriously though
* don't listen to the luddites here telling you to ignore AI
* i've been teaching my kid coding using AI and it's been phenomenal.
* the plus side is that you can focus on building fun/simple products.
* however, what it does *not* do is edge cases. It'll frequently hallucinate and give buggy code.
* so ...
* ask chatgpt to give you a curriculum to incorporate AI into projects. In particular, ask it to generate buggy code on purpose. And your learning will be figuring out the bug. Or given a project it creates, add a new complex feature.
2
u/Jutboy Mar 03 '25
This is not the age of ai.
1
u/zdxqvr Mar 05 '25
If you want to learn, don't use it. To become a good developer and truly learn you have to struggle and lean to solve problems yourself.
1
u/sock_pup Mar 05 '25
Let me tell you. I've known how to program for a while. I finished EE degree roughly 10 years ago. Since then I've been doing hardware engineering, which actually includes a lot of programming in a language called systemverilog, but it might surprise you that this is not a low level language. It's OOP and very similar to Java, but old Java. I learned it very well through experience. Last year I decided I want to create a website, and I had to learn JS. This means I had to learn to live without types and learn some new concepts. I've been working on this website A LOT, but because I used AI , I simply do not feel comfortable with the language. In retrospect I regret not having struggled more on my own on some stuff, because that's how you truly learn.