• mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    ·
    edit-2
    7 hours ago

    Someone I know genuinely tried this in a test branch for a Blazor application developed at a university, and the AI introduced insanely hidden UI breaking bugs because it touched every single file and renamed variables to plural without correctly refactoring in every dependent file lmao.

    AI is a powerful tool, but throwing an entire codebase at it is exactly how you nuke your development lol. Even the latest and greatest models can’t handle complexity beyond a few thousand lines even with increased input limits. And if it’s anything proprietary or even not well published, you’re basically screwed.

    • Johanno@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      It is a sharp knife that if used correctly can improve your performance.

      However if you use an agent that runs through your code and changes shit randomly…

      It is like taking the knife strapping it on a water hose and turn on the pressure.

      It may cut through the things you want. It also may go crazy and kill everyone in range. You don’t know.

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      arrow-up
      20
      ·
      9 hours ago

      It’s crazy to me that cursor has been out for a while now, and it’s basically a fork of vscode, and it support tool use, but it doesn’t have the refactoring vscode tools as tools available to it.

      Like there are tools out there that make sure that these kinds of changes won’t break anything and they’re just like “Naw dog, just give me access to the terminal and grep” wat.

      • MyNameIsIgglePiggle@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        7 hours ago

        There’s an MCP that uses LSP (Language server protocol) which is what vscode and other ides use to navigate and refactor code.

        The problem is it trips over cursor trying to do things

        • PeriodicallyPedantic@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          4 hours ago

          It doesn’t seem like an inherent problem of the domain, so idk why they wouldn’t just fix that, if that means writing their own LSP MCP, or even their own LSPs for major languages.