I really don't believe the headline. Google has thousands of teams of engineers that are writing code for hundreds of different products... There's no way all of them are generating anywhere near 25% of their new code via AI.
Unless they're doing something like generating massive test fixtures or training data sets using AI and classifying them as "code" 🤔
How often does a solution need “new” code and not “basically the same code as a previous issue but with two small details changed”? This is a genuine question, I have only ever coded as a hobby. But 25% of your work being essentially just copy pasted sounds plausible, and that’s sorta all LLMs are doing, right?
Reusable code is usually pulled out into a library and reused that way, rather than copied and pasted into a new project. You might copy and paste some boilerplate to new projects but it wouldn't be anywhere near 25% of the code.
I'm not sure why someone downvoted you (it wasn't me!) because your comment did seem like a genuine question.
Pretty often, but then you can just refactor the code so you can use it for more situations
What LLMs are good at are the opposite - when the thing you want to do is almost exactly the same, but nearly all the details need to be changed
Say you want a page to edit account details, and another page to edit community details. And the API paths to do this will be even more similar - but because they're different things, you'd have to get fancy with the design to make code that works for both... It's possible, but there will be trade-offs
LLMs are great at it though... Pass in the account page, give it the object definition for the community details, and it'll spit it out for you
If they're counting all the auto-completed code that's inserted after pressing Tab on an AI suggestion (such as from Copilot), then I easily believe it.
Tons of places in code only have 1 possible thing that can go on a particular line, given the context, and there is no point in typing it all out manually.
Does this mean "AI was used as a fancy autocomplete"? Because that's my number 1 use case for AI like copilot, and if that's the case, over 25% of my code is written by AI. But let me tell you, it still gets it wrong, repeatedly making the same syntax errors no matter how many times I correct it. It starts to get it right, then later reverts to making the same syntax errors, even making up variable names that violate widely known public APIs.
Auto complete is about... 60% helpful and increases my productivity with about 5-10% as I need to double check everything it does and half the time it's something ridiculously stoopid
That would explain the decline in quality of everything from Google. Even Gmail is becoming buggy as hell, even though I haven't seen any new features added. I have used Gmail since it's founding and only in the last year or so did it become extremely buggy.
Today, more than a quarter of all new code at Google is generated by AI, then reviewed and accepted by engineers. This helps our engineers do more and move faster.
Sounds like bs to me, comes across as marketing talk to promote their AI offerings.
How is Elon going to tell the AI to print its code on hardcopy and then fly to Elon's city to show him your hardcopy code like he told actual Twitter developers to do?