史上最烂代码_历史上最大的代码库

本文揭示了历史上最大的代码库,Google拥有20亿行代码,全部存于单一代码库。微软的Windows Git仓库则拥有约350万个文件,大小约为300GB,每日产生1,760个构建,展现了大型项目的复杂管理。

史上最烂代码

Here’s a diagram of the biggest codebases in history, as measured by lines of code:

这是历史上最大的代码库的图表,以代码行来衡量:

As you can see, Google has by far the largest codebase of all. And all 2 billion lines of code fits into a single code repository.

如您所见,Google拥有迄今为止最大的代码库。 并且所有20亿行代码都可以放入一个代码存储库中。

But it isn’t a Git repository. Google uses its own version control system, which was designed specifically for its 62,000 employees (about 1/3 of whom are developers) to collaborate efficiently.

但这不是一个Git存储库。 Google 使用自己的版本控制系统 ,该系统专门为其62,000名员工(其中大约1/3是开发人员)设计,可以有效地进行协作。

The distinction of “largest Git repository” goes to Microsoft, who announced today that their Windows Git repository has:

“最大的Git存储库”的区别归于微软,微软今天宣布其Windows Git存储库具有:

  • approximately 3.5M files that

    大约有350万个文件
  • results in a Git repo of about 300 gigabytes in size

    导致大约300 GB的Git回购
  • with 4,000 engineers producing 1,760 daily “lab builds” across 440 branches, plus thousands of pull request validation builds.

    拥有4,000名工程师,遍及440个分支,每天产生1,760个“实验室构建”,以及数千个拉取请求验证构建。

You can read all about how the Windows team manages this complexity with Git here: (11 minute read)

您可以在此处阅读有关Windows团队如何使用Git管理这种复杂性的所有信息:( 阅读11分钟 )

  1. How Elise learned to code while working full-time and got her first web developer job — and things she learned along the way (2 minute read)

    Elise在全职工作期间如何学习编码并获得了她的第一份Web开发人员工作-以及她在此过程中学到的东西( 阅读了2分钟 )

  2. How to dig yourself out of the coding tutorial rut (5 minute read)

    如何使自己脱离编码教程车辙( 5分钟阅读 )

  3. The dark side of extreme productivity, and how to steer back toward the light (8 minute read)

    极端生产力的阴暗面,以及如何转向光明( 阅读8分钟 )

Bonus: How to use setInterval and setTimeout to create time-based events in JavaScript (3 minute watch)

奖励:如何使用setIntervalsetTimeout在JavaScript中创建基于时间的事件( 观看3分钟 )

想到的一天: (Thought of the day:)

“Phishing is a major problem because there really is no patch for human stupidity.” — Mike Danseglio
“网络钓鱼是一个主要问题,因为确实没有解决人类愚蠢的方法。” — Mike Danseglio

有趣的一天: (Funny of the day:)

Webcomic by Commit Strip

Webcomic由Commit Strip

当天的研究小组: (Study group of the day:)

freeCodeCamp Sao Paolo

freeCodeCamp圣保罗

Happy coding!

编码愉快!

– Quincy Larson, teacher at freeCodeCamp

– Quincy Larson, freeCodeCamp的老师

If you get value out of these emails, please consider supporting our nonprofit.

如果您从这些电子邮件中获得了价值,请考虑支持我们的公益组织

翻译自: https://www.freecodecamp.org/news/the-biggest-codebases-in-history-a128bb3eea73/

史上最烂代码

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值