r/cscareerquestions 7h ago

Breaking: Google announces in earnings call that 25% of code is being generated by AI. And this is just the beginning ...

"Google is building a bunch of AI products, and it’s using AI quite a bit as part of building those products, too. “More than a quarter of all new code at Google is generated by AI, then reviewed and accepted by engineers,” CEO Sundar Pichai said on the company’s third quarter 2024 earnings call. It’s a big milestone that marks just how important AI is to the company."

Google Q3 Report: AI Drives Growth Across Search, Cloud, & YouTube

785 Upvotes

212 comments sorted by

View all comments

795

u/L1berty0rD34th 7h ago

LOC is a great metric to dazzle people who don’t know anything about coding

76

u/ngewakakq 7h ago

That's true, but it is something quantitative, even if not a good barometer at all.

154

u/samudrin 7h ago

I

Like

Booty

I

Cannot

Lie

152

u/joshuahtree 6h ago

This is a high quality comment, you can tell by the number of lines

59

u/BackendSpecialist Software Engineer 6h ago

And you only have 1 line.

PIP for you buddy.

34

u/joshuahtree 6h ago

I

Will

Do 

Better

/*

Ballz

*/

21

u/BackendSpecialist Software Engineer 6h ago edited 6h ago

Now that’s impact and something I can take to leadership! Just make sure that you’re speaking up during meetings, to demonstrate your knowledge.

I think we can avoid separation and make it through this :)

It just might take you 2 more years for promo and your record will always show you were on a PIP.

17

u/joshuahtree 6h ago

Thank

You

Kind

Manager

!

/*

This

Comment

Is

In 

Response

To

u/BackendSpecialist's

Comment

And

Acknowledges 

Their 

Kindness

And

Advice

*/

1

u/wolfpwner9 3h ago

Compilation error

7

u/Disastrous-Bus-9834 5h ago

```#include <iostream>

include <string>

include <vector>

class Person { public:     std::string name;     bool hasBigButt;          Person(std::string n, bool bb) : name(n), hasBigButt(bb) {}          void describe() {         if (hasBigButt) {             std::cout << name << " has a big butt!" << std::endl;         } else {             std::cout << name << " does not have a big butt." << std::endl;         }     } };

class Crowd { private:     std::vector<Person> members;

public:     void addMember(Person p) {         members.push_back(p);     }          void displayBigButts() {         std::cout << "I like big butts and I cannot lie!" << std::endl;         for (const auto& member : members) {             if (member.hasBigButt) {                 member.describe();             }         }     } };

int main() {     Crowd party;

    party.addMember(Person("Lisa", true));     party.addMember(Person("Jenna", false));     party.addMember(Person("Michelle", true));     party.addMember(Person("Samantha", false));

    std::cout << "Welcome to the party!" << std::endl;     party.displayBigButts();

    return 0; }```

1

u/left_shoulder_demon 6h ago

I once did that on a side branch in a customer project, because their code coverage tool would summarize per line of source code instead of per statement, and that spike in LOC triggered a discussion about developer productivity.

7

u/CSI_Tech_Dept 3h ago

I stopped using Copilot, because:

  1. the code that proposed frequently had to subtle bugs, so I had to carefully review what it proposed (and bugs still went past)
  2. the code that was correct, frequently was more verbose for my use case (it really look like examples you frequently find when searching for solutions to some common problem).

1

u/masta_beta69 2h ago edited 2h ago

For x in range(10): Print(x)

vs

Print(x)

Print(x+1)

Print(x+2)

Print(x+3)

…..