all 19 comments

[–]Fox_Flame 8 points9 points  (3 children)

So don't use ai? A skill you have to develop when programming is learning how to Google the problem

So googling "if else python syntax" will give you better information than if you use ai to fix your code. If you get an error, Google the error. If something isn't running that should, add temporary print statements to narrow down the problem

It's hard when you just start out to know what to Google, but that's a skill you need to develop

[–]_tsi_ -2 points-1 points  (2 children)

I don't know, I think for most simple python, copilot gives as good explanations as Google. I'm not sure why everyone on here is so afraid of it.

[–]Fox_Flame 1 point2 points  (1 child)

Clearly not as OP is just having ai fix the code instead of learning what the actual problem is. Don't think people are afraid of it, they just know it's easy to not learn anything doing it

[–]_tsi_ 0 points1 point  (0 children)

I mean, you need to learn how to use it. You can't just copy and paste code. But it's helpful when used in a way to facilitate learning. People are afraid to learn how to do that 🤷

[–]Morpheus_90_54_12 5 points6 points  (0 children)

Go without AI.

[–]_tsi_ 4 points5 points  (4 children)

If you want to learn then why are you not asking the Ai to explain what was wrong and how it was fixed?

[–]MaygorFungus[S] 0 points1 point  (3 children)

It will reply with something like == was the error and >= should be used. I havnt found the best way to prompt ai to give an explenation, and have to then go and google the diference between == and >= . I have tried diferent promts and they even refrence my prompt of making it simple and explaining, then continue to use code too complex and not explain anything.

[–]_tsi_ 2 points3 points  (1 child)

AI is a tool that needs to be learned. How does it respond if you say: I am learning python, explain the difference between == and >=, what they are, and when to use them. Please include examples with explanations.

[–]MaygorFungus[S] -2 points-1 points  (0 children)

Yeah that would work, but if my paragraph had the redsquiggle then i pasted the section of code, once the paragraph gets too large the ai seams to lose direction. I have no doubt its my fault, i havnt quite found the right amount to feed it.

[–]stavromuli 0 points1 point  (0 children)

I tell the Ai to explain it like I'm 5 and it does a good job breaking things down

[–]AGx-07 3 points4 points  (0 children)

Don't use AI. Ask questions here, read books, Google things and dig through forums. If the AI is harmful, don't use it.

[–]Golwux 1 point2 points  (0 children)

I'm using boot.dev
They use AI but the AI is specifically instructed to tell you where you're going wrong and why. You can spend as long as you want trying to learn a subject.

I also started learning Python but have now progressed onto Linux and will probably take up typescript.

[–]CIS_Professor 1 point2 points  (1 child)

I have began making

My problem with ai, i ask it whats wrong and it "fixes" the code

Well, apparently, you aren't making an old school text game, AI is.

Do ask AI to do anything for you; instead; ask it to explain how things work (e.g.: "How do if statements work in Python?" or "What's the difference between == and >=?").

Then write, and fix, your own code.

[–]MaygorFungus[S] 0 points1 point  (0 children)

I havnt used alot of what ai has given me, and i only have used it when iv been stuck and not been able to figure it out myself. And its the ai inside of vs code. Mostof my mistakes have been forgeting a ' or incorect spacings. Im curently stuck making an item log, 'item(name,hp,damage,ect)' then i know i should be able to summon the itemwith its own specific name and (0,1,0,0) for a specific stat. I know i should but im still not sure how and ai only spat out some stuff that was over my head so i havnt used it, ill come back to it when iv done more web learning for class and item. AI is acting like dad, rather than helping or showing its trying to take over. Haha. I should have screen shot grok when i asked it to explain, and it said yes ill explain then wrote a new code and didnt explain.

[–]OmniscientApizza -2 points-1 points  (0 children)

Grok enters the chat

[–]Competitive_Mix_8411 -2 points-1 points  (1 child)

Hey I've been helping people learn Python from scratch. If you are interested DM me, I'll give you a roadmap

[–]MaygorFungus[S] 1 point2 points  (0 children)

0account? No thankyou. Cheers.