Or you give it 3-4 requirements (e.g. prefer constants, use ternaries when possible) and after a couple replies it forgets a requirement, you set it straight, then it immediately forgets another requirement.
cupcakezealot@piefed.blahaj.zone 1 day ago
writing code via ai is the dumbest thing i've ever heard because 99% of the time ai gives you the wrong answer, "corrects it" when you point it out, and then gives you back the first answer when you point out that the correction doesn't work either and then laughs when it says "oh hahaha we've gotten in a loop"
BrianTheeBiscuiteer@lemmy.world 1 day ago
WhiskyTangoFoxtrot@lemmy.world 1 day ago
To be fair, I’ve had the same results working with human freelancers. At least AI is cheaper.
MangoCats@feddit.it 1 day ago
Same, and AI isn’t as frustrating to deal with when it can’t do what it was hired for and your manager needs you to now find something it can do because the contract is funded…
MangoCats@feddit.it 1 day ago
I have taken to drafting a complete requirements document and including it with my requests - for the very reasons you state. it seems to help.
cows_are_underrated@feddit.org 1 day ago
You can use AI to generate code, but from my experience its quite literally what you said. However, what I have to admit is, that its quite good at finding mistakes in your code. This is especially useful, when you dont have that much experience and are still learning. Copy paste relevant code and ask why its not working and in quite a lot of cases you get an explanation what is not working and why it isn’t working. I usually try to avoid asking an AI and find an answer on google instead, but this does not guarantee an answer.
ngdev@lemmy.zip 1 day ago
if your code isnt working then use a debugger? code isnt magic lmao
cows_are_underrated@feddit.org 1 day ago
As I already stated, AI is my last resort. If something doesn’t work because it has a logical flaw googeling won’t save me. So of course I debug it first, but if I get an Error I have no clue where it comes from no amount of debugging will fix the problem, because probably the Error occurred because I do not know better. I Am not that good of a coder and I Am still learning a lot on a regular basis. And for people like me AI is in fact quite usefull. It has basically become the replacement to pasting your code and Error into stack overflow (which doesn’t even work for since I always get IP banned when trying to sign up)
ngdev@lemmy.zip 1 day ago
you never stated you use it as a last resort. you’re basically using ai as a rubber ducky