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. Maxata+T5[view] [source] 2025-05-06 15:42:10
>>ranyum+Z3
Tell it not to write so many comments then. You have a great deal of flexibility in dictating the coding style and can even include that style in your system prompt or upload a coding style document and have Gemini use it.
◧◩◪
3. Trasma+m7[view] [source] 2025-05-06 15:49:30
>>Maxata+T5
Every time I ask an LLM to not write comments, it still litters it with comments. Is Gemini better about that?
◧◩◪◨
4. sitkac+T9[view] [source] 2025-05-06 16:00:33
>>Trasma+m7
LLMs are extremely poor at following negative instructions, tell them what to do, not what not to do.
◧◩◪◨⬒
5. diggan+ce[view] [source] 2025-05-06 16:23:58
>>sitkac+T9
Ok, so saying "Implement feature X" leads to a ton of comments. How do you rewrite that comment to not include "don't write comments" while making the output not containing comments? "Write only source code, no plain text with special characters in the beginning of the line" or what are you suggesting here in practical terms?
◧◩◪◨⬒⬓
6. FireBe+We[view] [source] 2025-05-06 16:28:21
>>diggan+ce
"Implement feature X, and as you do, insert only minimal and absolutely necessary comments that explain why something is being done, not what is being done."
[go to top]