Why is Facebook 9+ million lines of code?

Because it is actually more than just one program. 

I'm pretty sure it is almost like trying to sift through the entirety of, say, the Linux project's source code (largest open source project) or the KDE project's source code (second largest). One is the base of an operating system and the other is a rather popular desktop environment for both Linux and Windows, that also happens to come with several useful programs and a cross-platform development platform for the desktop.



Facebook happens to have quite a few services, and it not only has a rather large front end (if it consists of less than 100,000 lines of code, I'd be surprised) but a massive back end with a database. It also stores a lot of information and files for literally hundreds of millions of people.

Facebook also has its own open source libraries it internally uses (like React.js), and two different development platforms, one for mobile and one for the browser.

This should probably help a bit in understanding why it is possible.

COMMENTS

Name

5G,1,Business,2,Bussiness,3,C,2,C++,4,CodeProject,3,Companies,5,Computer,1,Dev.to,1,Facebook,1,Future,2,Google,4,Javascript,2,Microsoft,2,Motivation,6,PHP,3,Programmer,6,Programming,13,Projects,1,Python,3,Quantum,1,Quora,10,Software Development,3,Tech,4,VS Code,2,
ltr
item
9to5Programmer: Why is Facebook 9+ million lines of code?
Why is Facebook 9+ million lines of code?
Facebook happens to have quite a few services, and it not only has a rather large front end (if it consists of less than 100,000 lines of code, I'd be surprised) but a massive back end with a database. It also stores a lot of information and files for literally hundreds of millions of people.
https://i.imgur.com/RnlPWpA.jpg
9to5Programmer
http://www.9to5programmer.com/2019/02/why-is-facebook-9-million-lines-of-code.html
http://www.9to5programmer.com/
http://www.9to5programmer.com/
http://www.9to5programmer.com/2019/02/why-is-facebook-9-million-lines-of-code.html
true
1435496506228626257
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy