• mesamunefire@piefed.social
    link
    fedilink
    English
    arrow-up
    38
    ·
    20 hours ago

    Im looking forward in the next 2 years when AI apps are in the wild and I get to fix them lol.

    As a SR dev, the wheel just keeps turning.

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      17
      ·
      19 hours ago

      I’m being pretty resistant about AI code Gen. I assume we’re not too far away from “Our software product is a handcrafted bespoke solution to your B2B needs that will enable synergies without exposing your entire database to the open web”.

      • mesamunefire@piefed.social
        link
        fedilink
        English
        arrow-up
        18
        ·
        19 hours ago

        It has its uses. For templeting and/or getting a small project off the ground its useful. It can get you 90% of the way there.

        But the meme is SOOO correct. AI does not understand what it is doing, even with context. The things JR devs are giving me really make me laugh. I legit asked why they were throwing a very old version of react on the front end of a new project and they stated they “just did what chatgpt told them” and that it “works”. Thats just last month or so.

        The AI that is out there is all based on old posts and isnt keeping up with new stuff. So you get a lot of the same-ish looking projects that have some very strange/old decisions to get around limitations that no longer exist.

        • abbadon420@lemm.ee
          link
          fedilink
          arrow-up
          13
          ·
          16 hours ago

          Holdup! You’ve got actual, employed, working, graduated juniors who are handing in code that they don’t even understand?

        • WrittenInRed [any]@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          7
          ·
          18 hours ago

          Yeah, I think personally LLMs are fine for like writing a single function, or to rubber duck with for debugging or thinking through some details of your implementation, but I’d never use one to write a whole file or project. They have their uses, and I do occasionally use something like ollama to talk through a problem and get some code snippets as a starting point for something. Trying to do too much more than that is asking for problems though. It makes it way harder to debug because it becomes reading code you haven’t written, it can make the code style inconsistent, and a non-insignifigant amount of the time even in short code segments it will hallucinate a non existent function or implement something incorrectly, so using it to write massive amounts of code makes that way more likely.

          • wise_pancake@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            16 hours ago

            The CursoAI debugging is the best experience ever.

            It’s so much easier than googling don’t stack trace and then browsing GitHub issues and stack overflow.

        • wise_pancake@lemmy.ca
          link
          fedilink
          arrow-up
          4
          ·
          16 hours ago

          The AI also enabled some very bad practices.

          It does not refactor and it makes writing repetitive code so easy you miss opportunities to abstract. In a week when you go to refactor you’re going to spend twice as long on that task.

          As long as you know what you’re doing and guide it accordingly, it’s a good tool.

      • MajorHavoc@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        19 hours ago

        without exposing your entire database to the open web until well after your payment to us has cleared, so it’s fine.

        Lol.