Comment by VCFundedGenYer

1 day ago

Nah, It's not even good for small code changes.

Try using it with Ansible. It spits back complete buffoonery.

I was investigating an ansible playbook yesterday that had a 45 line comment to explain a single apt install command, completely and utterly useless. I am updating my neovim to just collapse all comments, the noise is unbearable.

  • I've seen people report cleaner code by forbidding agents from writing comments. Anecdotal, but interesting.

    • Mozilla's Firefox AGENTS.md begins with:

        Limit the amount of comments you put in the code to a strict minimum. You should almost never add comments, except sometimes on non-trivial code, function definitions if the arguments aren't self-explanatory, and class definitions and their members.
      
        Do not remove existing comments unless they are directly related to what you are changing.
      

      https://searchfox.org/firefox-main/source/AGENTS.md

      4 replies →