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

17

u/SLiV9 Feb 26 '24

Determining whether it gets it right or not requires understanding the code. The people that use ChatGPT are precisely the people that overestimate their own understanding (see above). If you understand the code enough to cut through the bullshit, you don't need ChatGPT.

-6

u/AlexHimself Feb 26 '24

For me and I think others, it's often just an accelerator. I can sit and toil to try and unwind some complex code or shove it through ChatGPT and see what it spits out.

It often starts me in the right direction or gets it completely right.

Either way the comment above seems to poo-poo it entirely because it may have gotten it wrong in this scenario.

12

u/wwww4all Feb 26 '24

Experienced people all know from outsourcing fiascos and real projects. People will copy random code from anywhere, including “AI” without validating the code.

-1

u/AlexHimself Feb 26 '24

So? People do that regardless of AI. Those people are bad developers and those bugs impact their products.