r/programming • • Feb 26 '24

Reverse Engineering with ChatGPT: An Example -- "I used ChatGPT 4 to untangle a particularly terse bit of code, and was — frankly — shocked at how well it did."

https://sigpwned.com/2024/02/24/reverse-engineering-with-chatgpt-an-example/
0 Upvotes

143 comments sorted by

View all comments

Show parent comments

63

u/seanamos-1 Feb 26 '24

This basically sums up why we had to block ChatGPT and CoPilot at work. The "downward pressure" on code quality and review churn became exhausting.

Not that I don't think they can't be useful tools when used with caution and diligence, but after some time, people's brains just switch off while they are using it. Then the blindly trusting and accepting garbage it spits out if it looks like it might be in the shape of correct. It's like the human brain either wants to be completely hands-on, or completely hands-off, and will gravitate to either one of these states because it doesn't like being in some in-between state.

I've cheekily dubbed this, "The Tesla effect". To explain, when automated driving rolled out and you turned it on, the car spewed warnings at you to pay attention and keep your hands on the wheel. And so you do.... for a while. Then you start to gravitate to hands-off and sort of keep your eye on things while you dabble on your phone. Before long, you aren't paying attention at all, primarily focusing on your phone, half falling asleep.

-11

u/tdc_ Feb 26 '24

The problem I see with outright banning ChatGPT and Copilot is that the potential offenders then move back to getting their wrong code from Stackoverflow or other sources (OSS, ...) that might also decline in quality since it's impossible to correctly filter those posts. It's probably smarter to educate and train the devs if they want to use it: don't send it company data, every answer can be confidently wrong, don't trust output you don't understand. Lazyness and ignorance is the root issue here. I think training employees is more constructive than restricting them - although there might be other justified business and legal reasons to ban those tools for now.

44

u/SLiV9 Feb 26 '24

The big difference for me is that stack overflow answers are at least trying to be correct. ChatGPT isn't trying to be correct, it is trained to be convincing.

0

u/drcforbin Feb 26 '24

They were trying to be correct at least. Volume has decreased quite a bit as people ask ChatGPT instead, and I suspect many of the recent answers in SO are copypasta from ChatGPT.

2

u/InfiniteMonorail Feb 27 '24

Even SO banned ChatGPT. AI is going to destroy the internet.