• Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    14 hours ago

    Stupid term people use for “writing” code without the knowledge of programming by using AI.

    Kinda the next level of running random code from the internet without understanding what it does.

    • hddsx
      link
      fedilink
      arrow-up
      8
      ·
      14 hours ago

      Maybe I’m old, but I avoid AI specifically because I’ve seen the quality of code out there (not to say my quality is amazing), and if AI learned from that…. Well

      • zenpocalypse@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

        It’s taught me a few new tricks. It’s good at short bits of code, but anything longer is likely to have problems that take as much time to fix as writing it yourself to begin with.

        I also find learning something new to be much faster when you can just ask a question about best practices or why something works like it does.

      • yucandu@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        14 hours ago

        AI is great for when you’re typing out 30 slight variations of the same thing, and you can just be like “see what I’m doing here? Do it for the other 30 variables” and it does it just fine.

        • Rikudou_Sage@lemmings.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          12 hours ago

          It’s also great if you have a general knowledge of something but don’t know the details. Like today I needed to do some database introspection using queries in Snowflake, I knew exactly what I needed but not where the database schema is located etc., so I let GPT write the query instead.

          Or some time ago I needed to get all instances of classes implementing a specific generic interface in .NET, the code eventually dabbled into the very specifics of the runtime, it would’ve taken me much longer to find out with documentation.

          All in all, it’s my opinion that AI is great if two conditions are met:

          • you know exactly what you want to do and you can specify it to very tiny details
          • you have the knowledge to verify whether the result makes sense without running the code (or at least the knowledge that it can’t break your app or computer)
      • Aurenkin@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        10 hours ago

        I don’t think it’s necessary to strictly avoid it by any means, it’s quite a useful tool. You just have to use it appropriately, similar to stack overflow in some ways. That said, obviously you should use / avoid whatever tools as you want.