• Zos_Kia@lemmynsfw.com
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

      100% I use them a lot to ingest and understand shitty code for me. Of course it’s not perfect, it’s like having a colleague who’s not super strong but has infinite patience for bullshit

    • Gork@sopuli.xyz
      link
      fedilink
      arrow-up
      16
      ·
      11 hours ago

      It would probably struggle to see the larger picture. I can see it being used to add comments in self-contained functions though without too much difficulty.

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      9 hours ago

      Honest question: would an LLM be able to write useful comments in code like this?

      It can be better han nothing, but not really. The LLM faces the same challenge that any competent coder does: neither were present to learn the human, business and organization context when the code was first written.