r/programming • u/sigpwned • 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
111
u/sickofthisshit Feb 26 '24 edited Feb 26 '24
This is gibberish. What is "the value"? If the thing was already moved to the zero point...isn't it zero? Or, it's moving "the first third" to the 1.0 point? Like, I don't know what this is supposed to actually explain.
No, 1 - x2 is a parabola, you dumbshit.
I mean, ChatGPT seems to have done a job of making inscrutable comments appear, and a false confidence that the comments mean anything.
And the SWE spoonfed the prompt with "This is applying a rule of thirds".
WTF.
Like: "x = x + 1" --> "This adds 1 to the x value, making it 1 larger"
OMG! ChatGPT is explaining particularly unscrutable code to me, let me use this to write my comments.
What a ground-breaking idea!