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
Mniot@programming.dev 5 hours ago
More as an alternative to a search engine.
In my ideal world, StackOverflow would be a public good with a lot of funding and no ads/sponsorship.
Since that’s not the case, and everything is hopelessly polluted with ads and SEO, LLMs are momentarily a useful tool for getting results. Their info might be only 3/4 correct, but my search results are also trash. Who knows what people will do in a year when the LLMs have been eating each others slop and are also being stuffed with ads by their owners.
cheloxin@lemmy.ml 1 day ago
Just because they didn’t explicitly say the exact words you did doesn’t mean it wasn’t said
MangoCats@feddit.it 1 day ago
I am a firm believer in rubber ducky debugging, but AI is clearly better than the rubber duck. You don’t depend on either to do it for you, but as long as you have enough self-esteem to tell AI to stick it where the sun don’t shine when you know it’s wrong, it can help accelerate small tasks from a few hours down to a few minutes.