this post was submitted on 25 May 2024
774 points (97.1% liked)

Technology

60111 readers
1982 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
 

The research from Purdue University, first spotted by news outlet Futurism, was presented earlier this month at the Computer-Human Interaction Conference in Hawaii and looked at 517 programming questions on Stack Overflow that were then fed to ChatGPT.

“Our analysis shows that 52% of ChatGPT answers contain incorrect information and 77% are verbose,” the new study explained. “Nonetheless, our user study participants still preferred ChatGPT answers 35% of the time due to their comprehensiveness and well-articulated language style.”

Disturbingly, programmers in the study didn’t always catch the mistakes being produced by the AI chatbot.

“However, they also overlooked the misinformation in the ChatGPT answers 39% of the time,” according to the study. “This implies the need to counter misinformation in ChatGPT answers to programming questions and raise awareness of the risks associated with seemingly correct answers.”

you are viewing a single comment's thread
view the rest of the comments
[–] dependencyinjection@discuss.tchncs.de 7 points 7 months ago (1 children)

Sure does, but even when wrong it still gives a good start. Meaning in writing less syntax.

Particularly for boring stuff.

Example: My boss is a fan of useMemo in react, not bothered about the overhead, so I just write a comment for the repetitive stuff like sorting easier to write

// Sort members by last name ascending

And then pressing return a few times. Plus with integration in to Visual Studio Professional it will learn from your other files so if you have coding standards it’s great for that.

Is it perfect? No. Does it same time and allow us to actually solve complex problems? Yes.

[–] Zos_Kia@lemmynsfw.com 3 points 7 months ago (1 children)

Agreed and i have the exact same approach. It's like having a colleague next to you who's not very good but who's super patient and always willing to help. It's like having a rubber duck on Adderall who has read all the documentation that exists.

It seems people are in such a hurry to reject this technology that they fall into the age old trap of forming completely unrealistic expectations then being disappointed when they don't pan out.

[–] dependencyinjection@discuss.tchncs.de 2 points 7 months ago (1 children)

Exactly. I suspect many of the people that complain about its inadequacies don’t really work in an industry that can leverage the potential of this tool.

You’re spot on about the documentation aspect. I can install a package and rely on the LLM to know the methods and such and if it doesn’t, then I can spend some time to read it.

Also, I suck at regex but writing a comment about what the regex will do will make the LLM do it for me. Then I’ll test it.

[–] Zos_Kia@lemmynsfw.com 2 points 7 months ago

Honestly i started at a new job 2 weeks ago and i've been breezing through subjects (notably thanks to ChatGPT) at an alarming rate. I'm happy, the boss is happy, OpenAI get their 20 bucks a month. It's fascinating to read all the posts from people who claim it cannot generate any good code - sounds like a skill issue to me.