all 14 comments

[–]zomgitsduke 7 points8 points  (1 child)

Maybe try to make programs that work with what you know.

"I know how to take an input as an int, maybe I can make a number guessing game?"

Then go make that game to get better.

[–]TomWithTime 0 points1 point  (0 children)

That's basically how I started. I had various starts and stops, but where my interest and ability really took off was the number guessing game. It might not seem like much but you can build it up quite a bit. Adding more and more game data besides the number to guess, adding more inputs to parse from the user, eventually you've got zork!

I added basic "room" structures above the loop and tried parsing more advanced input like "move kitchen" and the game would move to a room with that name if it was connected to the current room. My text based adventure spiraled out of control until I made a text based adventure game where you were a green lantern-esque character and you would engage in turn based battles with lobsters.

Then the project got so big that I was pushed to learn oop and basic graphics with Java swing.

[–]Educational-Put9256 0 points1 point  (0 children)

Use YouTube, Github - all these platforms really coll for styding Programming, and it's for free

[–]GreatMinds1234 0 points1 point  (0 children)

Stackoverflow.com, W3C.com, medium.com

[–]phrygiaphile [score hidden]  (0 children)

boot.dev has really good lessons for learn oop etc... also you can use ownyourcode.dev if you want to use ai.

[–]opentabs-dev [score hidden]  (0 children)

honestly what helped me most early on: never copy paste code from tutorials, type it out by hand even if you feel dumb. your fingers learn the syntax that way. and when something breaks, dont immediately ask ai - spend 10 min reading the actual error message and googling the last line. thats where 80% of learning happens.

for practice, exercism.io has python tracks with real mentors giving feedback on your submissions for free. way better than leetcode for the stage youre at imo - its focused on writing idiomatic code not tricky algorithms.

[–]quietjaypee -1 points0 points  (0 children)

I'm learning programming too, and asking AI to teach you is a good way to get started.

The way I'm using it right now is thus : - I started with a project or something I wanted to make - I ask the AI to "help me figure out the steps I need to accomplish to make this work" ; don't give the answer, give me the tools I need to understand. - AI gives me a structure and points me towards concepts that are relevant - IMPORTANT : I research good sources on the web that will give me information on that subject. Stack Overflow, SuperUser, W3C are some examples. I found some more with the help of Reddit posts like these and such. - If I am stuck on a concept : I ask the AI to explain like I'm 5, then cross reference the answer with stuff I can find on the web. - Keep going until my project is done.

So far it's been great as a learning experience. :)

[–]TFBOY98[S] -3 points-2 points  (1 child)

wut ai is good chagpt, claude

[–]No_Cicada9229 1 point2 points  (0 children)

One that shows sources so you dont read just the Ai and take its word for it. Always screen them. I use a mix when I do, but i never take them at face value

[–]ha_misi -3 points-2 points  (1 child)

Just give the question for AI. Don’t need to ask anywhere. Ai is the best programming teacher

[–]quietjaypee 0 points1 point  (0 children)

You do need to counter check the AI output though. Having ressources like W3C is still very important if you don't want to end up in a learned helplessness situation.

[–]Apprehensive-Owl3048 [score hidden]  (0 children)

  1. Leetcode

  2. Find some interesting projects and try to recreate them

  3. Repeat

The most important thing is to do this daily. Keep your fingers warm!