• pezhore@infosec.pub
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    2 days ago

    I get what you’re saying, but the problem is that AI seems to need way more hand holding and double checking before it can be considered ready for deployment.

    I’ve used copilot for Ansible/Terraform code and 40-50% of the time it’s just… wrong. It looks right, but it won’t actually function.

    For easy, entry programs it’s fine, but I wouldn’t (and don’t) let it near complex projects.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      4
      ·
      2 days ago

      I’ve seen similar issues with ansible and terraform. It’s much better with more traditional languages though. Works great with core go-lang, Python, Java, Kotlin, etc. Ymmv when it comes to some libraries as well. I think it’s mostly to do with the amount of training data.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      6
      ·
      edit-2
      2 days ago

      Its not about writing easy entry programs, it’s about writing code robustly.

      Writing out test code where tests are isolated from each other, cover every edge case, and test every line of code, is tedious but pays dividends. AI makes it far less tedious to write out that test code and practice proper test driven development.

      A well run dev team with enough senior people that manages the change properly should increase in velocity if they’re already writing robust code, and increase in code quality if they’re not.

      • xvapx@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        1 day ago

        AI makes it far less tedious to write out that test code […]

        Completely disagree.
        In my experience, LLMs constantly generate bad code that needs to be thoroughly checked, to the point that writing by hand is more practical.

        • masterspace@lemmy.ca
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          edit-2
          20 hours ago

          We use copilot literally every day and it’s extremely helpful, literally not a single developer at our company disagreed on the most recent adoption survey.

          Maybe you’re trying to use it to do too much, or in the wrong way?