85
LLM's hallucinating or taking our jobs?
(lemmy.world)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I'm perplexed as to why there's so much advertising and pushing for AI. If it was so good it would sell itself. Instead it's just sort of a bit shit. Not completely useless but in need of babysitting.
If I ask it to do something there's about a 30% chance that it made up the method/specifics of an API call based on lots of other similar things. No, .toxml() doesn't exist for this object. No, I know that .toXml() exists but it works differently from other libraries.
I can make it just about muddle through but mostly I find it handy for time intensive grunt work (convert this variable to the format used by another language, add another argparser argument for the function's new argument, etc..).
It's just a bit naff. It cannot be relied on to deliver consistent results and if a computer can't be consistent then what bloody good is it?
I do wonder why so many devs seem to have so wildly different experiences? You seem to have LLM's making up stuff as they go, while I'm over here having it create mostly flawless code over and over again.
Is it different behavior for different languages? Is it different models, different tooling etc?
I'm using it for C#, React (Native), Vue etc and I'm using the web interface of one of the major LLM'S to ask questions, pasting the code of interfaces, sometimes whole React hooks, components etc and I get refactored or even new components back.
I also paste whole classes or functions (anonymized) to get them unit tested. Could you elaborate on how you're using LLM'S?
It's the language and the domain. They work pretty well for the web and major languages (like top 15).
As soon as you get away from that they get drastically worse.
But I agree they're still unambiguously useful despite their occasional-to-regular bullshitting and mistakes. Especially for one-off scripts, and blank-page starts.