zlacker

[return to "Gemini 2.5 Pro Preview"]
1. ranyum+Z3[view] [source] 2025-05-06 15:30:36
>>meetpa+(OP)
I don't know if I'm doing something wrong, but every time I ask gemini 2.5 for code it outputs SO MANY comments. An exaggerated amount of comments. Sections comments, step comments, block comments, inline comments, all the gang.
◧◩
2. chr15m+ah1[view] [source] 2025-05-07 00:06:29
>>ranyum+Z3
Many of the comments don't even describe the code itself, but the change that was made to it. So instead of:

x = 1 // set X to 1

You get:

x = 1 // added this to set x to 1

And sometimes:

// x = 1 // removed this

These comments age really fast. They should be in a git commit not a comment.

As somebody who prefers code to self-describe what it is doing I find this behaviour a bit frustrating and I can't seem to context-prompt it away.

[go to top]