I found that it only does well if the task is already well covered by the usual sources. Ask for anything novel and it shits the bed.
Comment on AI Coding Is Massively Overhyped, Report Finds
Sibshops@lemmy.myserv.one 1 day ago
I mean… At best it’s a stack overflow/google replacement.
Steve@startrek.website 1 day ago
snooggums@piefed.world 22 hours ago
That's because it doesn't understand anything and is just vomiting forth output based on the code that wad fed into it.
forrcaho@lemmy.world 10 hours ago
At least when I’m cleaning up after shit devs who used Stack Overflow, I can usually search using a fragment of their code and find where they swiped it from and get some clue what the hell they were thinking. Now that they’re all using AI chatbots, there’s no trace.
timbuck2themoon@sh.itjust.works 1 day ago
At absolute best.
My experience is it’s the bottom stack overflow answers. Making up bullshit and nonexistent commands, etc.
whoisearth@lemmy.ca 10 hours ago
They should make it more like SO and have it chastise you for asking a stupid question you should already know the answer to lol
mcv@lemmy.zip 17 hours ago
If you know what you want, its automatic code completion can save you some typing in those cases where it gets it right (for repetitive or trivial code that doesn’t require much thought). It’s useful if you use it sparingly and can see through its bullshit.
For junior coders, though, it could be absolute poison.
MangoCats@feddit.it 1 day ago
In the beginning there were manufacturer’s manuals, spec sheets, etc.
Then there were magazines, like Byte, InfoWorld, Compute! that showed you a bit more than just the specs
Then there were books, including the X for Dummies series that purported to
Then there was Google / Stack Overflow and friends
Somewhere along there, where depends a lot on your age, there were school / University courses
Now we have “AI mode”
Each step along that road has offered a significant speedup, connecting ideas to theory to practice.
I agree, all the “magic bullet” AI hype is far overblown. However, with AI something I new I can do is, interactively, develop a specification and a program. Throw out the code several times while the spec gets refined, re-implemented, tried in different languages with different libraries. It’s still only good for “small” projects, but less than a year ago “small” meant less than 1000 lines of code. These days I’m seeing 300 lines of specification turn into 1500-3000 lines of code and have it running successfully within half a day.
I don’t know if we’re going to face a Kurzweilian singularity where these things start improving themselves at exponential rates, or if we’ll hit another 30 year plateau like neural nets did back in the 1990s… As things are, Claude helps me make small projects several times faster than I could ever do with Google and Stack Overflow. And you can build significant systems out of cooperating small projects.
Warl0k3@lemmy.world 1 day ago
There’s some real perks to using AI to code - it helps a ton with templated repetitive code and setting up the tedious tasks. I hate doing that by hand, being able to pass it off to copilot is great. But we already had tools that gave us 90% of the functionality copilot adds there, so it’s not super novel, and I’ve never had it handle anything properly complicated at all successfully (asking GPT-5 to do your dynamic SQL calls is inviting disaster, for example…)
Feyd@programming.dev 1 day ago
More reliable ones.
MaggiWuerze@feddit.org 20 hours ago
Deterministic ones
Sibshops@lemmy.myserv.one 1 day ago
Fair, I’ve used it recently to translate a translations.ts file to Spanish.
But for repetitive code, I feel like it is kind of a slow down sometimes. I should have refactored instead.
cam_i_am@lemmy.world 14 hours ago
This is a thing people miss. “Oh it can generate repetitive code.”
OK, now who’s going to maintain those thousands of lines of repetitive unit tests, let alone check them for correctness? Certainly not the developer who was too lazy to write their own tests and to think about how to refactor or abstract things to avoid the repetition.
If someone’s response to a repetitive task is copy-pasting poorly-written code over and over we call them a bad engineer. If they use an AI to do the copy-paste for them that’s supposed to be better somehow?
pennomi@lemmy.world 1 day ago
Some code is boilerplate and can’t be distilled down more. It’s nice to point an AI to a database schema and say “write the Django models, admin, forms, and api for this schema, using these authentication permissions”. Yeah I’ll have to verify it’s done right, but that gets a lot of the boring typing out of the way.
panda_abyss@lemmy.ca 15 hours ago
I use it for writing code to call APIs and is a huge boon.
Yeah, you have to check the results, but it’s way faster than me.
Sibshops@lemmy.myserv.one 1 day ago
That’s fair.
Flamekebab@piefed.social 1 day ago
Similarly I find it very useful for if I’ve written a tool script and really don’t want to write the command line interface for it.
“Here’s a well-documented function - write an argparser for it”
…then I fix its rubbish assumptions and mistakes. It’s probably not drastically quicker but it doesn’t require as much effort from me, meaning I can go harder on the actual function (rather than keeping some effort in reserve to get over the final hump).
otacon239@lemmy.world 1 day ago
I’ve had plenty of success using it to build things like docker compose yamls and the like, but for anything functional, it does often take a few tries to get it right. I never use its raw for anything in production. Only as a leaping off point to structure things.
MangoCats@feddit.it 1 day ago
Maybe it’s the dynamic SQL calls themselves that are inviting disaster?
Warl0k3@lemmy.world 1 day ago
Dynamic SQL in of itself not an issue, but the consequences (exacerbated by SQL’s inherent irrecoverability from mistakes - hope you have backups) have stigmatized it’s use heavily. With an understanding of good practice, a proper development environment and a close eye on the junior devs, there’s no inherent issue to using it.
MangoCats@feddit.it 1 day ago
My feelings about C/C++ are the same. I’m still switching to Rust, because that’s what the company wants.
Valmond@lemmy.world 1 day ago
For the missing 10% : the folder with copies of the code you have already wrote doing that.
UnderpantsWeevil@lemmy.world 1 day ago
So much of the AI hype has been pointing to ten year old technology repackaged in a slick new interface.
AI is the iPod to the Zune of yesteryear.
MangoCats@feddit.it 1 day ago
Repackaging old technology in slick new interfaces is what we have been calling progress in computer software for 40+ years.
UnderpantsWeevil@lemmy.world 1 day ago
I mean… I like to think we’ve done a bit more than that. FFS, file compression alone has made leaps and bounds since the 3.25" floppy days.
Also, as a T-SQL guy, I gotta say there’s a world of difference between SQL 2008 and SQL 2022.
But I’ll spot you that a lot of the last 10-15 years has produced herculean efforts in answering the question “How can we squeeze a few more ads into your GUI?”