| ▲ | mrguyorama 2 days ago | |
>writing docstrings and type hints Disagree. Claude makes the same garbage worthless comments as a Freshman CS student. Things like: // Frobbing the bazz res = util.frob(bazz); Or // If bif is True here then blorg if (bif){ blorg; } Like wow, so insightful And it will ceaselessly try to auto complete your comments with utter nonsense that is mostly grammatically correct. The most success I have had is using claude to help with Spring Boot annotations and config processing (Because documentation is just not direct enough IMO) and to rubber duck debug with, where claude just barely edges out the rubber duck. | ||
| ▲ | minimaxir 2 days ago | parent [-] | |
I intentionally said docstrings instead of comments. Comments by default can be verbose on agents but a line in the AGENTS.md does indeed wrangle modern agents to only comment on high signal code blocks that are not tautological. | ||