How to not use AI to code for you
mandaputtra.id
How to not use AI to code for you
1–10 of 25 posts
Re: How to not use AI to code for you
#2I'm sorry, It's just ~ I don't think that's how I want to use AI to code.
So I tell him, he needs to level up or else ~ the civilization will collapse, lol.
Again this is just opinion
Re: How to not use AI to code for you
#3Maybe it’s not trivial for them?
How do you know they weren’t trying to learn?
Re: How to not use AI to code for you
#4> Its just trivial problem like centering things in CSS Maybe it’s not trivial for them? How do you know they weren’t trying to learn?
Re: How to not use AI to code for you
#5I sat next to a young aspiring software engineer, I just met him. And it's annoy me, to look at how he works. Prompting again - again and again till something is fixed, it's not how you do things. I think, if the AI could not answer it in the first place, you should fix it your self ~ or give it more context. I'm sorry, It's just ~ I don't think that's how I want to use AI to code. So I tell him, he needs to level up…
I think he did "vibe" coding, but (may be) on a piece of code that doesn't throw errors. Code assistance then doesn't know/understand what went wrong - more context would help. BUT!
I have had an logical problem once that I couldn't resolve with my quarter-pounder only. So I used cgpt and asked to give it to me. And, you guessed, it didn't work out.
I did not really expect it to work out, but at least give me the logical structure as the worst case. So I asked and got garbage. So I asked again, again, again - more context than the context I gave was out of reach, as I needed the logical structure firstly to be able to comprehend it myself and to add further context.
Then, at some point, I got something delivered that looked promising from the perspective of logical structure. So I took this and formulated a new prompt - and. Yes! You guessed it. It didn't work out in code.
So, I did a quick truth table of expectations, formulated the prompt with the given logical structure and truth table and told assistant to check on the given code... AAA AND! You guessed it. I sent 10 times the same prompt "here truth table, here code, ....".
I noticed, the code changed more or less each time, with introduction of newish loops and methods and and and..
And somewhen then, it worked flawless out of nothing.
Sometimes it makes sense just to write "it doesn't work out":
- in case one doesn't know how to formulate the actual problem, because it's out of scope. It's not the same as not being able to program, but it may be just to difficult to grasp the logic/algorithms with own brain (even own/custom one)
- to get alternative suggestions which may even be better than earlier suggested ones.
So, as long I don't know why this young guy did what he did, as long I can't judge what he did. May be he is like me - is able to code, but has big problems to sustain that knowledge and skill, because of Claude!!!!!
Re: How to not use AI to code for you
#6Out of all examples you chose the hardest problem in computer science.
Re: How to not use AI to code for you
#7> Its just trivial problem like centering things in CSS Maybe it’s not trivial for them? How do you know they weren’t trying to learn?
We used to have css editors that helped.
But I’m glad LLMs can now write CSS for me, and it nearly works perfect every time (I sometimes have to dig and fix things, and to push it to use the latest specs not old obsolete tricks)
Re: How to not use AI to code for you
#8Re: How to not use AI to code for you
#9I sat next to a young aspiring software engineer, I just met him. And it's annoy me, to look at how he works. Prompting again - again and again till something is fixed, it's not how you do things. I think, if the AI could not answer it in the first place, you should fix it your self ~ or give it more context. I'm sorry, It's just ~ I don't think that's how I want to use AI to code. So I tell him, he needs to level up…
Re: How to not use AI to code for you
#10> Its just trivial problem like centering things in CSS Maybe it’s not trivial for them? How do you know they weren’t trying to learn?
It may be trivial now with flex... But back then, let me tell you...