I Asked Claude to Review My Code and the Criticism Is Terrifying lol
I had GPT review some code I'd been writing on my own, and it started with "This function isn't scalable" and then threw out 12 criticisms lol
Not a single compliment... Still, every point it said to fix was accurate, so I'm fixing them while crying.
7 answers
Crying while you fix it is the right move, for sure. I had that done and lost half a day, but it ended up cleaner in the end.
But isn't that an old story? These days models mix in praise too. Or maybe the prompt is set to 'strict mode'?
But are all those criticisms really valid? People often invent problems that aren’t even there. Aren’t some of those 12 just superficial?
LOL I also had GPT review my code and got told “the naming is unclear,” so I spent the night changing 30 variable names
Scalability comments come up almost automatically, so you don't need to worry about them. What you really need to look at is exception handling and the parts that break at boundary values.
Before I upload code, I bake this into the prompt: “Tell me one good thing first.” Otherwise it feels like I get deleted with no praise lol. But in the end, I still end up fixing everything anyway.
Do you have a source? What prompt did you run it with?