ChatGPT In Trouble: OpenAI may go bankrupt by 2024, AI bot costs company $700,000 every day - eviltoast
  • Jerkface@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Just started using it for documentation, really impressed so far. Produced better docstrings for my functions than I ever do in a fraction of the time. So far all valid, thorough and on point. I’m looking forward to asking it to help write unit tests.

    • JimmyMcGill@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      it honestly seems better suited for those tasks because it really doesn’t need to know anything that you’d have to tell it otherwise.

      The code is already there, so it can get literally all the info that it needs, and it is quite good at grasping what the function does, even if sometimes it lacks the context of the why. But that’s not relevant for unit tests, and for documentation that’s where the user comes in. It’s also why it’s called copilot, you still make the decisions.