cross-posted from: https://feddit.org/post/36071801

This author trieds hard to do a pragmatic view. He does not mention ethical or ecological concerns (which should matter far more and subject to legal regulation IMO).

Instead, he focuses on the quality topic. His thinking is that companies are doing now a kind of quality arbitrage: Companies can make low-quality code at far cheaper costs, and sellthe result still at human-made prices. Which will only work for so long, he thinks: Customers will demand lower prices. (Easy to imagine a quality downward spiral.)

Which invokes the question: What has happened that people accept lower and lower quality? Is new software nowadays still really useful?

  • NathanRanch@lemmy.zip
    link
    fedilink
    English
    arrow-up
    29
    ·
    2 days ago

    “The reason LLMs are successful in writing code is because we’ve made a feedback loop that feeds the errors back to the LLM and loops until most errors are solved or hidden. Remember that LLMs can and do cheat too.”

    I’ve heard, and somewhat seen, that AI makes more code than necessary when fed large code bases. Then the context window isn’t big enough to encompass the whole thing anymore, so it starts to create the issues you’ll make it solve later. This feedback loop manifests in longer debug times, prompt adjustments, and greater lack of understanding overall.

    • fruitycoder@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 hours ago

      Context collapse and hallucination in the face of anything novel has been my experience 90% of the time. I even tried context compression by trying to do the research, test spec, plan, code tests, product spec, plan, code product method, but then the issue was the plan satisfied the AI too quick (“actually we already test all of the code, you can see that by reading the “we test all of the code” spec”).

    • MonkderVierte@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      22 hours ago

      I’ve had let them help me with shell scripts sometimes. Not anymore; they use the more popular tool, even if it increases complexity x100.

    • Denys Nykula@piefed.social
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 days ago

      In case of tests, I’ve seen not simply more code than necessary, but hundreds of line of generated test cases focusing on implementation details based on a badly worded issue description, without anyone bothering to check if the generated integration works at all. These test cases are an immediate dead weight for maintainers that make refactoring and fixing issues more difficult.

      • einkorn@feddit.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 days ago

        Don’t need an LLM for that. I found human-made test cases successfully testing for wrong assumptions.