• mesamunefire@piefed.social
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    12 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
      8
      ·
      9 hours ago

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

    • wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      9 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.

    • WrittenInRed [any]@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      11 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
        arrow-down
        1
        ·
        9 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.