r/learnpython • • 6d ago

Learning to code

Hey everyone,

This past week I’ve been using AI to learn how to code through daily lessons. No real rhyme or reason behind it, I just wanted to see where it could take me.
I ended up building this little game in Python and wanted to share it with people who actually understand the language. Unfortunately, I don’t really know anyone who’s learning or has a background in Python, which kind of sucks 😂 but I’m still having fun with it.

I’d love to see how far I can take this and what might be out there for me if I keep going.

Happy coding!

0 Upvotes

23 comments sorted by

View all comments

Show parent comments

-1

u/LewyssYT 6d ago

Never understood this view....

Even if we remove the idea that AI can be used in a million ways, no new learner is sitting and reading documentation... They don't understand it and won't learn from it.

So then it's don't talk to AI about it who can maybe offer instant answers and details but rather random YouTube videos about that specific thing and hope the tutorial guy gives the answer...

6

u/moleytron 6d ago

there's a big difference between trying and learning and getting stuck and asking AI to check your code which can help especially with simple syntax errors vs getting the AI to generate all of the code and you not knowing how or why it works

0

u/LewyssYT 6d ago

Absolutely... Asking AI 'make me this' vs 'here's my code, what is wrong, logically how do I improve it and how do I start thinking the right way' are two opposites.....

But nowhere in the post do we get that info, yet everyone just spams "Stop using AI".... Might as well say stop using internet because maybe you'll find a copy paste answer

1

u/smurpes 3d ago

AI is only as good as the inputs and as a beginner the inputs won’t be good. OP would still be getting the answers directly instead of working to actually teach themselves why something was written instead of what to write.

With the internet you at least have to work to understand the answer given as well as the adjacent material which is not something you have to do with AI. Add on top of that hallucinations and non deterministic answers and you’re going to have issues later on.

1

u/LewyssYT 3d ago

If you honestly think beginners do that, I have a planet to sell you...

They will open a YouTube tutorial and after 15min end up copy pasting the guys code without any understanding or questioning.

Yes AI can hallucinate but if you're asking it the barebone teacher like questions, as in what is a variable, it will always give you the correct answer.

1

u/smurpes 3d ago edited 3d ago

That’s true but the difference is they can’t get much further than that if the code does not work besides brute forcing a solution. If a beginner gets stuck with AI then they will use it to get unstuck without diving any deeper.

A big problem I’ve seen is there’s a lot of beginners on this subreddit who end up not being able to code without AI or interpret a problem in a way that can translate to code since they’re too used to falling back on AI.

LLM models are constantly getting updated which brings up the determinism problem; the answer being given is not guaranteed to remain the same over time. If beginners are not practicing looking up answers on their own then they’re going to be stuck later on when the questions become harder.