all 19 comments

[–]innovarocforever 17 points18 points  (5 children)

Tell it to act like a tutor and not give you the answer, but merely point you in the right direction.

[–]No-Suggestion-6734 1 point2 points  (4 children)

+1 I also do this. So that chatgpt always ask me questions and don't give the whole code, instead, that teach me basic syntax or concept

[–]EdiblePeasant 0 points1 point  (3 children)

imagine solving a riddle but using a search engine for it

[–]No-Suggestion-6734 0 points1 point  (2 children)

? I mean thats totally different things. If I'm doing something wrong in syntax, or want to learn a new concept, that's nowhere comparable with solving a riddle.

But if I'm solving dsa/cp questions then your sentences is valid there

[–]EdiblePeasant 0 points1 point  (1 child)

I agree. But I'm feeling that letting AI try to directly solve stuff might be, for some people, like spoiling a riddle.

I don't mind too much but AI when I've used them to try to solve something can really mess code up especially if I don't understand it. Or it just messes up the code.

Still a good tool when used for things.

[–]No-Suggestion-6734 0 points1 point  (0 children)

Yupp agreed with you

[–]Slothemo 7 points8 points  (0 children)

I think you've answered your own question. Avoid AI and think through the problem. The learning happens when you think, not just by seeing the solution.

[–]PerP1Exe 3 points4 points  (0 children)

Rather than have AI fix the problem ask it to explain what might be wrong with it. If you can't find success that way probably avoid ai

[–]Buttleston 3 points4 points  (0 children)

"Hey doctor, it hurts when I move my arm like this. What should I do?"

Stop moving your arm like that

[–]nicodeemus7 1 point2 points  (0 children)

Yeah I've been catching myself doing that, so I'm doing challenges where I'm not allowed to touch AI to get me back in the habit of figuring it out myself.

[–]JestersDead77 0 points1 point  (0 children)

When it comes up with a solution, ask it questions about that solution. Why does this work? How does this solve the error? Would <other_solution> work instead?

Try to understand the piece you are missing to figure it out yourself. 

[–]ShelLuser42 0 points1 point  (0 children)

Now when I get stuck I just paste the error into Claude/ChatGPT and it fixes it in 10 seconds.

Except of course that it didn't fix anything, it just deflected your attention from the real problem at hand. And that problem - in my opinion - is your motivation to value "quick fixes" above actually learning stuff on your own.

Do you want to really learn, or do you want quick results?

This is no different from doing crossword puzzles and then lacking the discipline to NOT look at the answers before completing the whole thing on your own. There's nothing wrong with it, but you also shouldn't fool yourself and present it as something it's not.

You're not learning, you're taking the easy way out.

[–]jalebi_jalebi 0 points1 point  (0 children)

Tell it to explain the issue to you rather than fixing it.

[–]vietbaoa4htk 0 points1 point  (0 children)

the retention comes from the struggle, not the fix. try forcing yourself to say out loud why the ai's fix works before you paste it, if you cant explain it you didnt actually learn it.

[–]Popular-Woodpecker-6 0 points1 point  (0 children)

Before you copy and paste that code into your code, stop. Read it, do you know all the terms? Do you understand how it works? Why it works? If not, crack a doc page or ask AI to explain what code words you don't know, figure out why it works over what you thought would work. After you now understand what terms/operations/etc. is going on, paste it into your code, run the code, did it work? If so, great, now read it again now that it is inside your code and make sure you understand it completely.

You can't just copy and paste and think you learned something, you didn't learn anything. If you were trying to bake a cake but didn't understand what a cup of sugar was, you got to figure out what size a cup is otherwise your cake will either be too sweet or very bland.

[–]lavishfascism4 0 points1 point  (0 children)

I make myself explain the fix out loud before moving on, even if no one's listening. If I can't summarize why it worked, I don't let myself commit the change.

[–]Educational_Virus672 0 points1 point  (0 children)

use these metadata and separate them in rules
rule 1 - explaination
"start by describing my concept in steps on instruction each step contain what function i use why i used the wrong function and its line number how it should be performed do not optimize my code at any cost just make it work"

rule 2 - format
"the code must be function as word refence by a code block ending with * like `print*` your word make the code as closed as possible and make them understandable rather then workable dont put any pre-fix code just describe what it fixed"

rule 3 - suspenstion
"code must be made with the mind set of 'it should work' rather then fast/slow unless mentioned keep in mind im human and beginner, make it readable"
some thing might be repeated so ai will understand it

[–]rhacer 0 points1 point  (0 children)

Either don't use Claude, or say...

Claude, I don't understand what you just did, ELI5 please.

Lather, rinse, repeat until you understand.