史上最爛代碼
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分鐘 )
這里還有三個值得您花時間的鏈接: (Here are three other links worth your time:)
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分鐘 )
How to dig yourself out of the coding tutorial rut (5 minute read)
如何使自己脫離編碼教程車轍( 5分鐘閱讀 )
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)
獎勵:如何使用setInterval
和setTimeout
在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/
史上最爛代碼