Ask HN: What are the code bases like at the really big product companies?

6 points by jaxn ↗ HN
I'm not asking for trade secrets, but I am curious what the code looks like. I've never worked on a team over 4 people before and can't picture what it must be like to browse the repository.

For those that have that kind of experience, what's it like?

4 comments

[ 3.1 ms ] story [ 25.2 ms ] thread
Really similar to any other repo you've seen. I would say the biggest difference is that there are many private libraries being used liberally. It's odd to see that sprinkled in throughout, whereas most codebases you understand where/why all the libs are being used. Maybe that sounds obvious but consider that big companies are going to use their own versions of some popular libs.

But speaking of that, another diff is that the big companies do often use popular libs, but the versions in use are quite behind. Usually because they have a policy to thoroughly review any libs first, even version upgrades.

Usually all code is public, as most companies trust their employees and consider that bad actions could happen even with all the protections. An exception to this is that I've heard some parts of Android isn't public to all employees at Google.

It's also interesting that some companies put the entire codebase under 1 repository.

(comment deleted)