• blackbirdbiryani@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    8 months ago

    I write a lot of bash and I still have to check syntax every day, but the answer to that is not chatGPT but a proper linter like shell check that you can trust because it’s based on a rigid set of rules, not the black box of a LLM.

    I can understand the syntax justification for obscure languages that don’t have a well written linter, but if anything that gives me less confidence about CHATGPT because it’s training material for an obscure language is likely smaller.

    • ByGourou@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      8 months ago

      Less checking syntax and more like “what was this function name again ?”
      “Which library has that ?”
      “Do I need to instance this or is it static ?”
      All of theses can be answered by documentation, but who want to read the docs when you can ask chatgpt. (Copilot is better in my experience btw)