• floofloof@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    3 months ago

    I find getting the LLM to either generate or rephrase documentation gives a distinctly worse result than doing it myself. I was in a hurry to document a new API from scratch recently and thought I’d try Copilot, but the results were overly verbose and sometimes inaccurate so I ended up rewriting all of it.

    The LLM is best for boilerplate code that is easily predictable and verifiable. Beyond that it’s sometimes good for initial suggestions if you don’t know where to start with a tool, after which you can go to the actual documentation. But you’ll need to do that, because half the time the suggestions use nonexistent APIs and methods.