I Had ChatGPT Review My Code and the Criticism Really Stings lol
I'm working on a toy project by myself, and since I had no one to review it, I just threw it at GPT.
It said something like, "This function's naming is ambiguous, and exception handling is missing. Also, this part is O(n²), so it'll blow up once the data grows." And I really had nothing to say lol.
I ended up refactoring at 2 a.m. I'm grateful, but my pride took a bit of a hit.
10 answers
Haha GPT is the scariest reviewer, seriously.
Exactly. I once had GPT review my code too, and after it told me "this code doesn't account for scalability," I lost my mind lol
But I kind of want to push back on the O(n²) criticism. How much data are we even getting? In a toy project, n probably won’t even hit 100, and forcing optimization just makes the code more complicated. If it runs, that’s good enough.