this post was submitted on 25 Jul 2023
400 points (100.0% liked)
Programming
423 readers
3 users here now
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
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
People prefer having something generating shitty code and not checking it, instead of asking or searching on internet for a substantially better solution
Because forum posts are always full of accurate and helpful information?
In my experience it still makes good suggestions for most things, and is better than trying to phrase things in a way that Google likes, then trawling through irrelevant forum posts.
It’s only there to make suggestions, so if someone is taking its output without understanding and treating it like gospel then they’re an idiot who’s inevitably going to end up in a world of trouble.
If you take the suggestion, verify it with documentation, then make sure you actually understand it, chatGPT is a great tool.
If I'm honest, stackoverflow was always a shortcut for searching documentation to me.
Simple stuff like how do I turn an InputStream to a String again? I can't remember it, but I know exactly what to look for, I'm just to lazy.
For that kind of stuff ChatGPT is almost perfect.
Not necessarily, but at least there's much more opportunity for other people to jump in and correct false info or expand upon something. It's by no means a flawless system, but it's better than only have one source of information
I didn't say that people should go on the internet and pick the first forum post either ; that would be like trusting whatever chatgpt is handing you :p
My point was more on the "people are lazy" side of things, but yeah you have to stay critical of both chatgpt and forum posts.
I agree, I just think that those lazy people will do what they do regardless of where they get their info.
To butcher a saying; blame the craftsman, not the tools.
I half expect that, if enough programmers use ChatGPT-written code verbatim, someday it's going to lead to Skynet. I mean, what's to stop ChatGPT from inserting bits of extra code to be used for its own distributed processing botnet?
You've never written code, have you?
Sadly there are so many people that take its output as gospel and don't realise it can be wrong. So is a tool that commonly gets abused by people that don't know how to use it.
You can have it generate shitty code and then compare it against examples it finds online to iterate that code. Also, it was trained on the whole internet, including those good solutions, and can often reproduce them on its own. but you have to tell it, explicitly, to do all this to make better code, rather than just asking for the code.
At least ChatGPT will not flag the question as duplicate.
"I'm sorry, as an AI language model this question has been asked too many times and there is insufficient computer resources to handle your request. You've been temporarily silenced for 15 minutes."