克劳德的代码注释——是过多还是恰到好处?
有没有其他人注意到Claude在其工作中留下了很多大型代码注释?<p>我一些以肉类为基础的工程师对此表示不满,并要求Claude除非绝对必要,否则不要留下注释,但我想知道其他人对此的看法。就我个人而言,我写和阅读了很多代码注释,所以我对这些特定的注释为何会让我的同事们感到反感感到困惑。<p>我有两个问题:
1. 它为什么这样做?
2. 你对此有什么看法?<p>这个代理是在为其他代理留下线索吗?这些注释是否能改善未来代理驱动的代码输出,还是仅仅是一种风格选择?<p>我不想陷入关于代码注释总体目的的讨论。相反,我想知道代理留下的特定注释背后是否有某种目的。
查看原文
Has anyone else noticed that Claude leaves a lot of large code comments sprinkled throughout its work?<p>Some of my meat-based engineers have taken issue with it and directed Claude to never leave comments unless strictly necessary, but I want to know what others think. Personally, I write and read a lot of code comments so I’m confused about why these specific comments are so offensive to my fellow engineers.<p>I have two questions:
1. Why does it do this?
2. Do you have feelings about it?<p>Is the agent leaving breadcrumbs for other agents? Do they improve the output of future agent-driven code or is it just a stylistic choice?<p>I don’t want to devolve into a discussion about the purpose of code comments at-large. Instead I’m wondering if there’s a purpose behind the specific comments that agents leave