• Cyborganism@lemmy.ca
    link
    fedilink
    arrow-up
    37
    arrow-down
    19
    ·
    7 months ago

    Might as well ban stack overflow based contributions as well.

    AI is a great tool for coding. As long as it’s used responsibly. Like any other tool, really.

    • 30p87@feddit.de
      link
      fedilink
      arrow-up
      13
      arrow-down
      1
      ·
      7 months ago

      External LLMs are great for getting ideas and a quick overview of something, and helpers integrated into IDEs are useful to autocomplete longer lines of code or repetitive things.

      • tsonfeir@lemm.ee
        link
        fedilink
        arrow-up
        11
        arrow-down
        5
        ·
        7 months ago

        I frequently ask ChatGPT to make whole functions for me. It’s important to check the code and test it, obviously, but it has saved me quite a bit of time.

        • 30p87@feddit.de
          link
          fedilink
          arrow-up
          7
          ·
          7 months ago

          I find it difficult to describe single functions that need to be integrated into a larger project. Especially if it needs to utilize a private or more unknown library. For instance, it totally fucked up using Bluetooth via DBus in C++. And the whole project is basically just that.

          • tsonfeir@lemm.ee
            link
            fedilink
            arrow-up
            4
            arrow-down
            1
            ·
            7 months ago

            It certainly has its limitations. I’ve noticed a few topics where it generally gets things wrong, or I can’t seem to explain it properly. In that case, you may just use it as a reference guide. Maybe toss it some code and ask it what it thinks. It’s not always useful information, but sometimes that leads you down a different road that you would not have thought of before.

            • 30p87@feddit.de
              link
              fedilink
              arrow-up
              9
              ·
              7 months ago

              Problem is, I only ever need to use something more powerful than a search engine with topics that are too complicated for me and/or not well documented, in which case LLMs fail just as bad. So it’s actually only ever useful to get a general direction of a topic, but even then it could be biased to outdated information (eg. preferring bluetooth.h over DBus based bluetooth handling) or it outright doesn’t know new standards, libraries and styles. And in my experience, problems that have one, well accepted and documented standard don’t need any AI to get knowledge of.

    • Richard@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      30
      ·
      7 months ago

      Lol Lemmy socialists are so butthurt. Your statement is literally most reasonable and sane/rational, but lemmy.ml only knows cringey extremism.

      • Cyborganism@lemmy.ca
        link
        fedilink
        arrow-up
        14
        ·
        7 months ago

        What the heck are you on about??? There are no comments on this thread that sounds “butthurt”. And I don’t especially like your generalisation of Lemmy users. You sound like a troll.

      • Omega_Haxors@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        7 months ago

        For fuck sake you may as well come out as a pedophile if you’re going to be posting shit like this.