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. dheera+X7[view] [source] 2025-05-06 15:52:10
>>Trasma+m7
I usually ask ChatGPT to "comment the shit out of this" for everything it writes. I find it vastly helps future LLM conversations pick up all of the context and why various pieces of code are there.

If it is ingesting data, there should also be a sample of the data in a comment.

[go to top]