logoalt Hacker News

thousand_nightsyesterday at 8:34 PM2 repliesview on HN

with gemini you have to spend 30 minutes deleting hundreds of useless comments littered in the code that just describe what the code itself does


Replies

energy123today at 12:42 AM

The comments would improve code quality because it's a way for the LLM to use a scratchpad to perform locally specific reasoning before writing the proceeding code block, which would be more difficult for the LLM to just one shot.

You could write a postprocessing script to strip the comments so you don't have to do it manually.

iamdeliriumyesterday at 8:40 PM

I haven't had a comment generated for 3.0 pro at all unless specified.