• vortic@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    11 days ago

    That exains a lot…

    I do use AI to assist my programming, but I always take what it suggests as likely highly flawed. It frequently sends me in the right direction but almost never is fully correct. I read the answers carefully, throw away answers frequently, and never use a solution without modifying it in some way.

    Also, it is terrible at handling more complex tasks. I just use it to help me construct small building blocks while I design and build the larger code.

    If 30% of my code was written by AI it would be utter trash.

    • Pup Biru@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 days ago

      AI is like a utils library: it can do well known boilerplate like sorting very well, but it’s not likely to actually write your code for you

      AI is like fill down in spreadsheets: it can repeat a sequence with slight, obvious modifications but it’s not going to invent the data for you

      AI is like static analysis for tests: it can roughly write test outlines, but they might not actually tell you anything about the state of the code under test

    • Kevin@c.im
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      @casmael @Ninjazzon @technology It would be an amazing thing but there is so little support for workers in America that we all fear the destitution that will result.

      Imagine if a worker replaced by ai could still maintain their life through UI, it would actually be awesome to be replaced by machines.

      • pinball_wizard@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 days ago

        They’re saying it’s not a good thing because code produced by AI is riddled with problems, today.

        Edit: AI code could explain the unstable experience in some recent updates to Microsoft Teams…

        • Kevin@c.im
          link
          fedilink
          arrow-up
          1
          ·
          10 days ago

          @pinball_wizard Sure, but that is not why people fear ai, self-driving cars, and steam-powered looms. Productivity gains are disproportionately confiscated by the rich at the expense of workers.

  • phil_dissonance@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    I wonder how they measure that. Writing 30% of loc with AI seems like it will be terrible. Writing 30% of each loc with AI (i.e. autocomplete) seems feasible

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 days ago

      Yeah, what percentage of their code was previously written by Intellisense, because I suspect this is just copilot replacing intellisense/resharper plus a little more.

      Copilot is great for:

      a) replacing intellisense

      b) minor refractors / and very short method writing

      c) writing out boiler plate / test code