News for hackers. Stuff that matters.
Re:Software Engineering Insights from 10 Years at Google by gmiller123456 on Wednesday May 18, 2022 @11:58PM (#31430550)
Is there any evidence that Google is actually better at software engineering than other companies? IMHO, it seems they have enough money to deliberately do things inefficiently which would kill a smaller company, but Google can manage to succeed through brute force.

Honestly I think the better example would be from a tiny company that can't afford to do things wrong.

Re:Software Engineering Insights from 10 Years at Google by nowherebeen on Thursday May 19, 2022 @12:10AM (#31430651)
Maybe 10 years ago when they were pushing the envelope. Nowadays, I just don’t see it to be honest. There are a few brilliant engineers for sure, but the new generation are mostly Leetcoders that brag about TC on another social network. You can see it in their open source code too. Critical bugs not fixed for an entire year. You read the code and it doesn’t stand out as anything out of the ordinary. I get the feeling most are focused on promotion packages to raise their TC.

If you read what the majority of them recommend, its similar to the banker's path in the early 2000s. Graduate from Ivy League, spent 3 years at FANG, then 2 years at Ivy League MBA, then back to FANG or join a startup for a few years so you can get a title bump when you do go back to FANG. The type of people that join Google nowadays aren't the type of people that were early employees. They have a very standard charted course to their careers.

Google has reach maturity stage of the company. They have leeway to screw up like what Microsoft did with Windows and Office in the early 2000s. Will they have the ability to push out something completely new and amazing like Gmail or Google Maps (although Maps was a clone of Mapquest, they executed better), where the end users aren't developers themselves? I highly doubt it with an organization as big. There will be a lot of politics involved to get anything done. They have lost the talent to innovate.

Re:Software Engineering Insights from 10 Years at Google by masterof0 on Thursday May 19, 2022 @10:31AM (#31435149)
I work at Google, and previously at Amazon, I was a bit upset reading your comment, but I have to be honest with myself, you are right. I "admire" more indiehackers and other technical founders than Staff Engineers and the like at Google. On the tech side you are also correct, the innovation at Google is minimal, we all work on somebody else's projects, promotion work and career development. Regarding interviewing, you are also correct, it have become a Leetcode grind fest, that certain demographic nails more often than not, due to their ability to give up life and memorize Leetcode solutions and System Design patterns non stop. I'm jealous of people who find a real life problem and start a company to monetize a solution that actually help people.
Re:Software Engineering Insights from 10 Years at Google by hnarn on Saturday May 21, 2022 @07:35AM (#31457000)
> I'm jealous of people who find a real life problem and start a company to monetize a solution that actually help people.

What's stopping you?

Re:Software Engineering Insights from 10 Years at Google by masterof0 on Tuesday May 24, 2022 @10:58AM (#31492969)
> find a real life problem

I haven't found a problem where I have any insight on how to solve

Re:Software Engineering Insights from 10 Years at Google by phtrivier on Thursday May 19, 2022 @03:17AM (#31431665)
What does TC mean in this context ?
Re:Software Engineering Insights from 10 Years at Google by Maro on Thursday May 19, 2022 @03:28AM (#31431741)
Total Compensation
Re:Software Engineering Insights from 10 Years at Google by julianbuse on Thursday May 19, 2022 @03:29AM (#31431754)
I believe it means total compensation.
Re:Software Engineering Insights from 10 Years at Google by aidaman on Thursday May 26, 2022 @01:07AM (#31514834)
gtfo
Re:Software Engineering Insights from 10 Years at Google by Hermitian909 on Thursday May 19, 2022 @12:50AM (#31430922)
Depends what you mean by "better at software engineering".

What Google seems to do really well is building robust systems at a scale that pushes the limits of what humanity is capable of. If you collect anecdotes from engineers who've worked on scaling systems at the small number of companies at this scale, there seems to be general agreement that Google is "the best". My understanding from these anecdotes is that Google core services are "on fire" less than everywhere else and require less maintenance.

But that's a pretty narrow definition of software engineering. AWS, by all accounts, is much better at productizing something useful to the world. I've heard that the reason Microsoft lags Google in stability could plausibly be accounted for by the fact that they care so much more about maintaining backwards compatibility (which Google very clearly does not care about).

All that said, I don't think its "best at software engineering" is a terribly useful category, better to say they are plausibly "best at a very specific and very difficult kind of software engineering".

Re:Software Engineering Insights from 10 Years at Google by klodolph on Thursday May 19, 2022 @01:44AM (#31431176)
Google seems to have more than its fair share of good engineers, but the organization itself is not substantially different from other organizations.

Whether core services are "on fire" depends on which team you're on. Some core services are pretty much "on fire" all the time, with high pager loads for the SRE teams supporting them. Some core services are rock solid, and the SRE teams conduct exercises where they turn the service off just to remind people that the uptime SLO is not 100%.

Same goes for code quality. Some teams have code that you'd just love to print out and put the code listings on your desk. Some teams have code that doesn't make sense and nobody understands.

Some teams are highly functional, some teams are exceptionally dysfunctional.

Re:Software Engineering Insights from 10 Years at Google by pmoriarty on Thursday May 19, 2022 @06:09AM (#31432654)
"What Google seems to do really well is building robust systems at a scale that pushes the limits of what humanity is capable of"

Can you give some examples of things Google did which pushed the limits of what humanity was capable of?

Re:Software Engineering Insights from 10 Years at Google by hotpotamus on Thursday May 19, 2022 @08:00AM (#31433377)
I've never understood all the praise Netflix gets for technical excellence (not that they're bad) for running a video streaming site while Youtube does the same thing about as well with the added difficulty of taking in user submitted video with all the technical and legal troubles that entails. I'm far from one to praise Google, but Youtube is an amazing service.
Re:Software Engineering Insights from 10 Years at Google by aidaman on Thursday May 26, 2022 @01:08AM (#31514843)
no. youtube does it way better
Re:Software Engineering Insights from 10 Years at Google by davidatbu on Thursday May 19, 2022 @06:26AM (#31432738)
Not OP, but doesn't availing any particular tiny slice of all knowledge on the web to you within ~1.5 seconds, by inferring your intent incredibly accurately from a few words, count as "building robust systems ... that push the envelopes of what humanity is capable of"?

Or, how about a video distribution network that serves more than 600,000 hours of video every minute, and manages to do that such that, every time service deteriorates on my 4G connection in a poor country, it's the last website (even considering text only websites) to stop working?

Re:Software Engineering Insights from 10 Years at Google by pmoriarty on Thursday May 19, 2022 @06:37AM (#31432812)
Yeah, I guess before Google you did have to wait 5 whole seconds to get the same information, because of all the ads AltaVista spewed at you along with their search results. Progress.

As for YouTube, it was bought, not created by Google, wasn't it?

Re:Software Engineering Insights from 10 Years at Google by davidatbu on Thursday May 19, 2022 @07:15AM (#31433020)
As to AltaVista, I'm not old enough to have used it. But my guess is that its accuracy and speed was not higher than that of the best competitors to Google right now. And to me, no competitor comes close in matching Google's combination of accuracy and speed across many categories of search (I've tried bing/you.com/yahoo.com/duckduckgo so far).

As for youtube, serving video is not the impressive part. It's the scale at which they do it. And my understanding is that the scale has increased exponentially since the 2006 acquisition.

Re:Software Engineering Insights from 10 Years at Google by fatnoah on Thursday May 19, 2022 @02:03PM (#31438050)
I'm old enough to remember AltaVista and all of the others. There's a reason I stopped using them almost immediately when I found Google.
Re:Software Engineering Insights from 10 Years at Google by pmoriarty on Thursday May 19, 2022 @02:33PM (#31438358)
Me too, but it was just a better search engine at the time, which isn't nothing, but not exactly "pushing the envelopes of what humanity is capable of" either.
Re:Software Engineering Insights from 10 Years at Google by fatnoah on Thursday May 19, 2022 @04:16PM (#31439631)
Fair point!
Re:Software Engineering Insights from 10 Years at Google by dekhn on Thursday May 19, 2022 @10:28AM (#31435118)
a typical search on altavista in its prime often took 30 seconds. Most of the results would be totally irrelevant.
Re:Software Engineering Insights from 10 Years at Google by ctvo on Thursday May 19, 2022 @09:02AM (#31434066)
Street view on maps / Google Earth. The end to end execution of capturing the images, making them available, keeping it updated. You can walk down the street in New York City without leaving your home —- it’s something out of sci-fi.
Re:Software Engineering Insights from 10 Years at Google by gmiller123456 on Friday May 20, 2022 @04:02PM (#31451886)

    Depends what you mean by "better at software engineering".
I'm willing to accept any definition relevant to the advice given. If "the best" means "have enough money to overcome obstacles others don't", then that's something, but lets keep the advice relevant.
Re:Software Engineering Insights from 10 Years at Google by passivate on Thursday May 19, 2022 @12:06AM (#31430616)
I don't mind admitting Google employs people far smarter than I will ever be, but they're creating and maintaining the largest global spying apparatus in history. Maybe we should be learning from people who're actually making the world a better place.
Re:Software Engineering Insights from 10 Years at Google by erung88 on Thursday May 19, 2022 @01:26AM (#31431087)
They make you feel like they're smart but everything is relative. Google cloud is constantly the thrid in the market and significantly leg behind AWS in terms of market share while its CEO was replaced every 2 years so there are definitely smarter people (e.g. AWS engineers) out there.
Re:Software Engineering Insights from 10 Years at Google by verst on Thursday May 19, 2022 @01:56AM (#31431237)
Being third in the market is independent from the quality of services IMO. Whether the services are being offered that a lot of businesses need is a different question. The services Google Cloud does offer tend to be well designed but many of them are simply not what established businesses (and their engineering organizations) are accustomed to. Lower marketshare is not a direct consequence of engineering excellence (or an alleged lack thereof).

Conversely, simply having more market share doesn't mean AWS services are well engineered and the engineers are smarter (they might be, but you cannot make this claim).

Re:Software Engineering Insights from 10 Years at Google by erung88 on Thursday May 19, 2022 @03:52AM (#31431891)
I totally agree the quality of a product may or may not be directly proportional to the market share (e.g. Windows). My previous comment has nothing to do with engineering excellence. I never work at Google nor an expert on Google cloud so I don't know whether Cloud Google is well-designed (and I'm not surprised if it's).

There're different ways to measure "smart". My view is that in the cloud computing business there are people smarter than them (at least in terms of market share) so it's perfectly fine that Google Cloud engineers learn from their competitors in terms of engineering, marketing, etc.

Re:Software Engineering Insights from 10 Years at Google by prox on Thursday May 19, 2022 @03:27AM (#31431739)
They are only smart in the context of what they are optimizing against. It’s like that for all area’s of an expertise or goal/ideal.
Re:Software Engineering Insights from 10 Years at Google by reactjavascript on Thursday May 19, 2022 @12:49AM (#31430914)
Teachers, nurses, and janitors
Re:Software Engineering Insights from 10 Years at Google by kwertyoowiyop on Thursday May 19, 2022 @07:51AM (#31433302)
Trust me, they aren’t THAT smart. People I know who work at Google, let’s just say: they often fit a type.
Re:Software Engineering Insights from 10 Years at Google by hotpotamus on Thursday May 19, 2022 @08:05AM (#31433428)
There's a (semi)famous Googler in one particular area. I had a buddy who worked with him years ago at a different company and took over a project after he left. There was nothing written after nearly a year - the guy either couldn't or wouldn't code anything, and now he's a well known Googler. Obviously there are extremely talented people there, but there are some bozos mixed in too.
Re:Software Engineering Insights from 10 Years at Google by kwertyoowiyop on Thursday May 19, 2022 @12:44PM (#31436950)
He probably couldn’t be bothered by such mundane work.
Re:Software Engineering Insights from 10 Years at Google by passivate on Thursday May 19, 2022 @12:05PM (#31436444)
I know of the famous people that work there, and I don't have anything personal against them. My comment was more directed towards the company. I can't support the way Google and other data mining companies operate. Its such a waste of talent.
Re:Software Engineering Insights from 10 Years at Google by rswskg on Thursday May 19, 2022 @09:44AM (#31434558)
Some are. It's now a giant company and recently partnerships with google bought me into contact with very average developers, gluing things together.
Re:Software Engineering Insights from 10 Years at Google by lkamr on Thursday May 19, 2022 @03:38AM (#31431812)
No, Googlers in CPython core for example are very unspectacular. Some are extremely power hungry, do nothing but try to rule the project with the boot, using dirty politician's tactics.
Re:Software Engineering Insights from 10 Years at Google by dlp211 on Thursday May 19, 2022 @12:23AM (#31430739)
I have only worked at a few companies, and I won't comment about the quality of engineering done at Google, but Google's Engineering Systems are the best I have ever used. From Code Search to Critique to Cider (Online IDE) to Blaze (Build) to having the entire code base "mounted" on my dev machine and the integration with golinks, it was an absolute pleasure to work with.
Re:Software Engineering Insights from 10 Years at Google by paganel on Thursday May 19, 2022 @04:32AM (#31432116)
> From Code Search

What could have been... [1] Yes, I'm still bitter about it after all those years.

[1] https://en.wikipedia.org/wiki/Google_Code_Search

Re:Software Engineering Insights from 10 Years at Google by saagarjha on Thursday May 19, 2022 @04:57AM (#31432267)
> having the entire code base "mounted" on my dev machine

My impression is that this is a result of a policy that google3 never touches a developer machine, which of course means you can't disconnect and work from a log cabin in the woods. Really sounds like bending yourself around an antipattern to be honest.

Re:Software Engineering Insights from 10 Years at Google by dlp211 on Thursday May 19, 2022 @01:39PM (#31437724)
It's not your code, it's Google's and I don't see how this is an anti-pattern. It is actually one of the best thought out solutions to balancing source code supply chain security and productivity. The fact that the industry has moved towards git and allows employees to clone proprietary codebases onto developer machines anywhere in the world is pure insanity.
Re:Software Engineering Insights from 10 Years at Google by saagarjha on Thursday May 19, 2022 @04:47PM (#31439957)
It’s also Google’s laptop but maybe they should have me remote into it instead of letting me touch it. Who knows, I might steal it…
Re:Software Engineering Insights from 10 Years at Google by enneff on Thursday May 19, 2022 @05:30PM (#31440420)
To Google, a laptop is worthless compared to their intellectual property.
Re:Software Engineering Insights from 10 Years at Google by saagarjha on Friday May 20, 2022 @04:49AM (#31444874)
It's more the principle of the thing–if I wanted to steal code from Google their "no source code on laptops" policy wouldn't stop me at all. And given that I don't actually want to steal code the policy sucks, so the real question is what the benefit is here by treating me like a criminal.
Re:Software Engineering Insights from 10 Years at Google by enneff on Friday May 20, 2022 @06:28PM (#31453319)
It’s not that a google employee would steal the code, it’s that if a laptop is compromised the access to the source code can be immediately revoked. So if someone steals an employee’s laptop and coerces their password from them, the source code can not be accessed for long, and exactly what source code was seen is known.
Re:Software Engineering Insights from 10 Years at Google by UncleMeat on Thursday May 19, 2022 @07:47AM (#31433275)
Very few people are capable of doing engineering from a cabin in the woods even if they can mirror the entire code base on their machine since engineering is a collaborative effort.
Re:Software Engineering Insights from 10 Years at Google by saagarjha on Thursday May 19, 2022 @09:30AM (#31434392)
I would hope that you are able to work on self-contained projects without having to interact with other people for at least a day or two at a time…
Re:Software Engineering Insights from 10 Years at Google by UncleMeat on Thursday May 19, 2022 @01:06PM (#31437260)
Who is driving out to a cabin in the woods to work for just one day?
Re:Software Engineering Insights from 10 Years at Google by saagarjha on Thursday May 19, 2022 @04:46PM (#31439945)
Never taken a three day trip but want to get work done on Monday?
Re:Software Engineering Insights from 10 Years at Google by UncleMeat on Friday May 20, 2022 @08:49AM (#31446674)
Not to a cabin in the woods with no internet.

This is becoming an increasingly remote (hah) scenario where doing development over web-based IDEs and SSH becomes a problem. For the incredibly few people who do this sort of thing regularly, you could get satellite internet reimbursed. There is even a story of a SRE who used to work from the top of mountains on occasion because he hiked so much.

Re:Software Engineering Insights from 10 Years at Google by a_t48 on Thursday May 19, 2022 @04:28AM (#31432097)
Small sample size, but the Google/exGoogle engineers I’ve interviewed are much more capable on average than others (or are at least better at crushing our interview loop). YMMV.
Re:Software Engineering Insights from 10 Years at Google by angarg12 on Thursday May 19, 2022 @12:34AM (#31430813)
If building, running and evolving very large and complex systems over many years is not a measure of software engineering quality, I don't know how else to compare companies.
Re:Software Engineering Insights from 10 Years at Google by rizzaxc on Thursday May 19, 2022 @12:53AM (#31430935)
Google has not pushed anything relevant to the user space for many, many years. It's not without reason people meme about Google Graveyard. Here in Hackernews, people constantly whine about their ads, their irrelevant google search, and what have you. Their latest "flagship" phone is littered with bugs.

I wouldn't call them "evolving" anything software as of late. Their hard science departments seem good though, but these aren't software engineering

Re:Software Engineering Insights from 10 Years at Google by zaphirplane on Thursday May 19, 2022 @03:05AM (#31431583)
TrueTime and spanner definitely fall in the wow category at least for me Microsoft one of the worlds top software companies couldn’t keep up with chrome.

There are a lot of projects that look easy at a POC stage and are very different at million of users, millions of tps, millions of TB or full featured

Re:Software Engineering Insights from 10 Years at Google by rizzaxc on Thursday May 19, 2022 @03:54AM (#31431904)
Chrome was released in 2008. Microsoft is doing fine with Edge, though it's a moot point because Microsoft is even older and more sluggish than Google.

Spanner seems a prototypical Google dev product though; it's only invented to serve Google. I don't think any of their solutions is the de facto choice in any tech stack.

Re:Software Engineering Insights from 10 Years at Google by dekhn on Thursday May 19, 2022 @10:31AM (#31435150)
Spanner is definitely the system I would want to use if I had $$$, ran on GCP, and needed to do large-scale distributed database processing.

It was invented to serve Google (really: the people who had outgrown bigtable's limited featureset) but is widely applicable.

Re:Software Engineering Insights from 10 Years at Google by meowtimemania on Thursday May 19, 2022 @04:48AM (#31432208)
Edge is just reskinned chrome browser. They discontinued their previous browser
Re:Software Engineering Insights from 10 Years at Google by sdevonoes on Thursday May 19, 2022 @05:52AM (#31432569)
> Google has not pushed anything relevant to the user space for many, many years.

80% of software engineering is not about pushing but maintaining. I'm not the one who praises Google (far from that), but using "pushing anything relevant" as a metric is not correct imho.

Re:Software Engineering Insights from 10 Years at Google by rizzaxc on Thursday May 19, 2022 @08:00AM (#31433375)
I touched on that. Their search is highly gameable now, they don't care about correctness anymore. Youtube has incessant ads and their recommendation system sucks - I have to turn it off
Re:Software Engineering Insights from 10 Years at Google by lrem on Thursday May 19, 2022 @01:35AM (#31431134)
Is product definition a part of software engineering?
Re:Software Engineering Insights from 10 Years at Google by somenameforme on Thursday May 19, 2022 @01:29AM (#31431100)
Their flagship product is Google search. But compared to 10-15 years ago, the results are hyper-monetized, full of spam, and frequently just not especially great.

I understand there are many reasons for this (though some of those originate with Google itself), but that's rather the point. The whole reason Google became a thing is because most search engines 20 years ago were full of results that were "hyper-monetized, full of spam, and frequently just not especially great." Then Google came and offered a product that effectively solved this, and quickly became a giant because of it.

Maintaining, let alone evolving, means continuing to work at least as well in the face of changing conditions.