111
submitted 1 month ago by Dot@feddit.org to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] dan@upvote.au 73 points 1 month ago* (last edited 1 month ago)

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" 🤔

[-] 0x0@programming.dev 30 points 1 month ago

I really don’t believe the headline.

The The company had a strong quarter thanks in large part to AI. part is what makes it sound strange to me, sounds like shareholder egostrking.

That said all they need to do is mandate use of AI during development like my company's done and they can boast this kind of bullshit easily.

[-] aidan@lemmy.world 13 points 1 month ago

That said all they need to do is mandate use of AI during development

Wtf does that mean? Like what if you know exactly what you want to do? Do you have to ask GPT to review your code?

[-] 0x0@programming.dev 7 points 1 month ago

Where i work they had us use AI with the IDEs.

I'd say about 20% of the times what it suggests is actually usable.

That's autocomplete on steroids for you.

[-] FarceOfWill@infosec.pub 5 points 1 month ago

I wonder if "code" means pull requests and they have a load of automated ones to update versions of external and internal libraries

[-] emax_gomax@lemmy.world 4 points 1 month ago

Given the size of lockfiles this would not surprise me but who the hell counts lock files code. Their barely configs :/.

[-] Shiggles@sh.itjust.works -1 points 1 month ago

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?

[-] dan@upvote.au 6 points 1 month ago* (last edited 1 month ago)

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.

[-] theneverfox@pawb.social 1 points 3 weeks ago

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

this post was submitted on 30 Oct 2024
111 points (92.4% liked)

Technology

59708 readers
1563 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS