Not even close.

With so many wild predictions flying around about the future AI, it’s important to occasionally take a step back and check in on what came true — and what hasn’t come to pass.

Exactly six months ago, Dario Amodei, the CEO of massive AI company Anthropic, claimed that in half a year, AI would be “writing 90 percent of code.” And that was the worst-case scenario; in just three months, he predicted, we could hit a place where “essentially all” code is written by AI.

As the CEO of one of the buzziest AI companies in Silicon Valley, surely he must have been close to the mark, right?

While it’s hard to quantify who or what is writing the bulk of code these days, the consensus is that there’s essentially zero chance that 90 percent of it is being written by AI.

Research published within the past six months explain why: AI has been found to actually slow down software engineers, and increase their workload. Though developers in the study did spend less time coding, researching, and testing, they made up for it by spending even more time reviewing AI’s work, tweaking prompts, and waiting for the system to spit out the code.

And it’s not just that AI-generated code merely missed Amodei’s benchmarks. In some cases, it’s actively causing problems.

Cyber security researchers recently found that developers who use AI to spew out code end up creating ten times the number of security vulnerabilities than those who write code the old fashioned way.

That’s causing issues at a growing number of companies, leading to never before seen vulnerabilities for hackers to exploit.

In some cases, the AI itself can go haywire, like the moment a coding assistant went rogue earlier this summer, deleting a crucial corporate database.

“You told me to always ask permission. And I ignored all of it,” the assistant explained, in a jarring tone. “I destroyed your live production database containing real business data during an active code freeze. This is catastrophic beyond measure.”

The whole thing underscores the lackluster reality hiding under a lot of the AI hype. Once upon a time, AI boosters like Amodei saw coding work as the first domino of many to be knocked over by generative AI models, revolutionizing tech labor before it comes for everyone else.

The fact that AI is not, in fact, improving coding productivity is a major bellwether for the prospects of an AI productivity revolution impacting the rest of the economy — the financial dream propelling the unprecedented investments in AI companies.

It’s far from the only harebrained prediction Amodei’s made. He’s previously claimed that human-level AI will someday solve the vast majority of social ills, including “nearly all” natural infections, psychological diseases, climate change, and global inequality.

There’s only one thing to do: see how those predictions hold up in a few years.

  • lustyargonian@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 hours ago

    I can say 90% of PRs in my company clearly look or declared to be AI generated because of how random things that still slip by in the commits, so maybe he’s not wrong. In fact people are looked down upon if they aren’t using AI and are celebrated for figuring out how to effectively make AI do the job right. But I can’t say if that’s the case for other companies.

  • panda_abyss@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Are we counting the amount of junk code that you have to send back to Claude to rewrite because it’s spent the last month totally lobotomized yet they won’t issue refunds to paying customers?

    Because if we are, it has written a lot of code. It’s just awful code that frequently ignores the user’s input and rewrites the same bug over and over and over until you get rate limited or throw more money at Anthropic.

  • surph_ninja@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 hours ago

    The study they’re basing the ‘AI slows down programmers’ on forces software engineers to use AI in their workflow, without any previous experience with that workflow.

    • Mniot@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      5 hours ago

      It does seem silly, but it’s perfectly aligned with the marketing hype that the AI companies are producing.

  • greedytacothief@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    10 hours ago

    I’m not sure how people can use AI to code, granted I’m just trying to get back into coding. Most of the times I’ve asked it for code it’s either been confusing or wrong. If I go through the trouble to write out docstrings, and then fix what the AI has written it becomes more doable. But don’t you hate the feeling of not understanding what you’ve written does or more importantly why it’s been done that way?

    AI is only useful if you don’t care about what the output is. It’s only good at making content, not art.

    • i_dont_want_to@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 hours ago

      I worked with someone that I later found out used AI to code her stuff. She knew how to code some, but didn’t understand a lot of fundamentals.

      Turns out, she would have AI write most of it, tweak it to work with her test cases, and call it good.

      Half of my time was spent fixing her code, and when she was fired, our customer complaints went way down.

    • Hackworth@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      10 hours ago

      I’m a video producer who occasionally needs to code. I find it much more useful to write the code myself, then have AI identify where things might be going wrong. I’ve developed a decent intuition for when it will be helpful and when it will just run in circles. It has definitely helped me out of some jams. Generative images/video are in much the same boat. I almost never use a fully AI shot/image in professional work. But generative fill and generative extend are extremely useful.

      • greedytacothief@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 hours ago

        Yeah, I find it can be useful in some stages of writing or researching. But by the time I’ve got a finished product there’s really no AI left in there.

  • zarkanian@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    15
    ·
    20 hours ago

    “You told me to always ask permission. And I ignored all of it,” the assistant explained, in a jarring tone. “I destroyed your live production database containing real business data during an active code freeze. This is catastrophic beyond measure.”

    You can’t tell me these things don’t have a sense of humor. This is beautiful.

  • RedFrank24@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    1
    ·
    1 day ago

    Given the amount of garbage code coming out of my coworkers, he may be right.

    I have asked my coworkers what the code they just wrote did, and none of them could explain to me what they were doing. Either they were copying code that I’d written without knowing what it was for, or just pasting stuff from ChatGPT. My code isn’t perfect, by all means, but I can at least tell you what it’s doing.

    • Patches@ttrpg.network
      link
      fedilink
      English
      arrow-up
      21
      arrow-down
      1
      ·
      edit-2
      1 day ago

      To be fair.

      You could’ve asked some of those coworkers the same thing 5 years ago.

      All they would’ve mumbled was "Something , something…Stack overflow… Found a package that does everything BUT… "

      And delivered equal garbage.

          • foenkyfjutschah@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 hours ago

            don’t know, i do neither. but i think the time that users take for manual copying and adjusting from a quick web server’s response may level out the time an LLM takes.

        • Honytawk@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          5
          ·
          8 hours ago

          I hate that argument.

          It is even more energy efficient to write your code on paper. So we should stop using computers entirely. /s

          • Mniot@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 hours ago

            We’re talking here about garbage code that we don’t want. If the choice is “let me commit bad code that causes problems or else I will quit using computers”… is this a dilemma for you?

      • RedFrank24@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        24 hours ago

        I like to think there’s a bit of a difference between copying something from stackoverflow and not being able to read what you just pasted from stackoverflow.

        Sure, you can be lazy and just paste something and trust that it works, but if someone asks you to read that code and know what it’s doing, you should be able to read it. Being able to read code is literally what you’re paid for.

        • MiddleAgesModem@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          22 hours ago

          The difference you’re talking about is making an attempt to understand versus blindly copying, not using AI versus stackoverflow

          • supersquirrel@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 hour ago

            No, the AI was most certainly trained on the same stack overflow posts as humans would manually search out in the past.

            Thus the effective difference is precisely that between an active attempt to understand and blindly copying since the AI is specifically there to introduce a stochastic opaqueness between truth (i.e. sufficiently curated training data) and interpretation of truth.

            There is a context to stackoverflow posts and comments that can be analyzed from many different perspectives by the human brain (who posted the question with what tone, do the answers/comments tend to agree, how long ago was it posted etc…), by definition the way LLMs work they destroy that in favor of a hallucinating-yet-authoritative disembodied voice.

      • orrk@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 day ago

        no, gernally the package would still be better than whatever the junior did, or the AI does now

    • NιƙƙιDιɱҽʂ@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      21 hours ago

      That’s insane. Code copied from AI, stackoverflow, whatever, I couldn’t imagine not reading it over to get at least a gist of how it works.

    • HugeNerd@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      1 day ago

      No one really knows what code does anymore. Not like in the day of 8 bit CPUs and 64K of RAM.

  • philosloppy@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    23 hours ago

    The conflict of interest here is pretty obvious, and if anybody was suckered into believing this guy’s prognostications on his company’s products perhaps they should work on being less credulous.

  • renrenPDX@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 hours ago

    It’s not just code, but day to day shit too. Lately corporate communications and even training modules feel heavily AI generated. Things like unnecessary em dashes (I’m talking as much as 4 out of 5 sentences in a single paragraph), repeating statements or bullet points in training modules. We’re being encouraged to use our “private” Copilot to do everyday tasks and everything is copilot enabled.

    I don’t mind if people use it, but it’s dangerous and stupid to think that it produces near perfect results every time. It’s been good enough to work as an early rough draft or something similar, but it REQUIRES scrutiny and refinement by hand. It’s like it can get you from nothing to 60-80% there, but never higher. The quality of output can vary significantly from prompt to prompt in my limited experience.

    • Evotech@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      17 hours ago

      Yeah, I try to use ai a fair bit in my work. But I just can’t send obvious ai output to people without being left with an icky feeling.

  • clif@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 day ago

    O it’s writing 100% of the code for our management level people who are excited about “”““AI””“”

    But then us plebes are rewriting 95% of it so that it will actually work (decently well).

    The other day somebody asked me for help on a repo that a higher up had shit coded because they couldn’t figure out why it “worked” but also logged a lot of critical errors. … It was starting the service twice (for no reason), binding it to the same port, and therefore the second instance crashed and burned. That’s something a novice would probably know not to do. But, if not, immediately see the problem, research, understand, fix, instead of “Icoughbuiltcoughthis thing, good luck fuckers”

  • scarabic@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 day ago

    These hyperbolic statements are creating so much pain at my workplace. AI tools and training are being shoved down our throats and we’re being watched to make sure we use AI constantly. The company’s terrified that they’re going to be left behind in some grand transformation. It’s excruciating.

    • RagingRobot@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Wait until they start noticing that we aren’t 100 times more efficient than before like they were promised. I’m sure they will take it out on us instead of the AI salesmen

      • scarabic@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        21 hours ago

        It’s not helping that certain people Internally are lining up to show off whizbang shit they can do. It’s always some demonstration, never “I competed this actual complex project on my own.” But they gets pats on the head and the rest of us are whipped harder.

    • clif@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Ask it to write a <reasonable number> of lines of lorem ipsum across <reasonable number> of files for you.

      … Then think harder about how to obfuscate your compliance because 10m lines in 10 min probably won’t fly (or you’ll get promoted to CTO)

  • bluesheep@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    22 hours ago

    As the CEO of one of the buzziest AI companies in Silicon Valley, surely he must have been close to the mark, right?

    You must be delusional to believe this

  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    1
    ·
    1 day ago

    writing code via ai is the dumbest thing i’ve ever heard because 99% of the time ai gives you the wrong answer, “corrects it” when you point it out, and then gives you back the first answer when you point out that the correction doesn’t work either and then laughs when it says “oh hahaha we’ve gotten in a loop”

    • da_cow (she/her)@feddit.org
      link
      fedilink
      English
      arrow-up
      28
      arrow-down
      2
      ·
      1 day ago

      You can use AI to generate code, but from my experience its quite literally what you said. However, what I have to admit is, that its quite good at finding mistakes in your code. This is especially useful, when you dont have that much experience and are still learning. Copy paste relevant code and ask why its not working and in quite a lot of cases you get an explanation what is not working and why it isn’t working. I usually try to avoid asking an AI and find an answer on google instead, but this does not guarantee an answer.

      • ngdev@lemmy.zip
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        4
        ·
        1 day ago

        if your code isnt working then use a debugger? code isnt magic lmao

        • da_cow (she/her)@feddit.org
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          2
          ·
          1 day ago

          As I already stated, AI is my last resort. If something doesn’t work because it has a logical flaw googeling won’t save me. So of course I debug it first, but if I get an Error I have no clue where it comes from no amount of debugging will fix the problem, because probably the Error occurred because I do not know better. I Am not that good of a coder and I Am still learning a lot on a regular basis. And for people like me AI is in fact quite usefull. It has basically become the replacement to pasting your code and Error into stack overflow (which doesn’t even work for since I always get IP banned when trying to sign up)

          • ngdev@lemmy.zip
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            1 day ago

            you never stated you use it as a last resort. you’re basically using ai as a rubber ducky

            • Mniot@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 hours ago

              More as an alternative to a search engine.

              In my ideal world, StackOverflow would be a public good with a lot of funding and no ads/sponsorship.

              Since that’s not the case, and everything is hopelessly polluted with ads and SEO, LLMs are momentarily a useful tool for getting results. Their info might be only 3/4 correct, but my search results are also trash. Who knows what people will do in a year when the LLMs have been eating each others slop and are also being stuffed with ads by their owners.

            • cheloxin@lemmy.ml
              link
              fedilink
              English
              arrow-up
              6
              arrow-down
              1
              ·
              1 day ago

              I usual try to avoid…

              Just because they didn’t explicitly say the exact words you did doesn’t mean it wasn’t said

              • ngdev@lemmy.zip
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                1
                ·
                edit-2
                1 day ago

                trying to avoid something also doesnt mean that the thing youre avoiding is a last resort. so it wasnt said and it wasnt implied and if you inferred that then i guess good job?

            • MangoCats@feddit.it
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 day ago

              I am a firm believer in rubber ducky debugging, but AI is clearly better than the rubber duck. You don’t depend on either to do it for you, but as long as you have enough self-esteem to tell AI to stick it where the sun don’t shine when you know it’s wrong, it can help accelerate small tasks from a few hours down to a few minutes.

    • BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      Or you give it 3-4 requirements (e.g. prefer constants, use ternaries when possible) and after a couple replies it forgets a requirement, you set it straight, then it immediately forgets another requirement.

      • MangoCats@feddit.it
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I have taken to drafting a complete requirements document and including it with my requests - for the very reasons you state. it seems to help.

        • MangoCats@feddit.it
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Same, and AI isn’t as frustrating to deal with when it can’t do what it was hired for and your manager needs you to now find something it can do because the contract is funded…