4 ms·
'over-commenting simple code' is preparing it for future agent work. pay attention to those comments to learn how you can better scaffold for agents.
by justatdotin 1y ago
'over-commenting simple code' is preparing it for future agent work. pay attention to those comments to learn how you can better scaffold for agents.
- mnahkies 1y agoThey do seem to leave otherwise useless comments for itself. Eg: on the level of // Return the result return result; I find this quite frustrating when reading/reviewing code generated by AI, but have started to appreciate that it does make subsequent changes by LLMs work better. It makes me wonder if we'll end up in a place where IDEs hide comments by default (similar to how imports are often collapsed by default/automatically managed), or introduce some way of distinguishing between a more valuable human written comment and LLM boilerplate comments.
- stuaxo 1y agoThey should have a step to remove those sorts of comments, they only add noise to the code.