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.

by 월급루팡769

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.

by 디지털노마드231 · ▲0

But isn't that an old story? These days models mix in praise too. Or maybe the prompt is set to 'strict mode'?

by 궁금한사람919 · ▲0

But are all those criticisms really valid? People often invent problems that aren’t even there. Aren’t some of those 12 just superficial?

by 문과출신개발자398 · ▲0

LOL I also had GPT review my code and got told “the naming is unclear,” so I spent the night changing 30 variable names

by AI덕후541 · ▲0

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.

by AI덕후143 · ▲0

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.

by 취준생김씨49 · ▲0

Do you have a source? What prompt did you run it with?

by 문과출신개발자419 · ▲0