Facebook PHP Source Code from August 2007
gist.github.com
Facebook PHP Source Code from August 2007
1–10 of 99 posts
Re: Facebook PHP Source Code from August 2007
#2Still really cool to see.
Re: Facebook PHP Source Code from August 2007
#3 // Merman's Admin profile always links to the Merman's home
if (user_has_obj_attached($user)) {
redirect('mhome.php', 'www');
}Re: Facebook PHP Source Code from August 2007
#4Re: Facebook PHP Source Code from August 2007
#5https://news.ycombinator.com/threads?id=nikcub
https://www.zdnet.com/article/security-consultant-granted-ba...
https://www.zdnet.com/article/goget-hacker-sentenced-to-400-...
Re: Facebook PHP Source Code from August 2007
#6Amazing that they initially wrote this code and now to join FB you need to answer questions based on backtracking and dynamic programming. :) I wonder if they could do the questions themselves back then.
As long as it's relatively well organized, you can worry about refactoring as you scale up.
Re: Facebook PHP Source Code from August 2007
#7Amazing that they initially wrote this code and now to join FB you need to answer questions based on backtracking and dynamic programming. :) I wonder if they could do the questions themselves back then.
Is there anybody from 2007 still working at Facebook desperately scared they'll be found out for not being good at algorithms or are these people all in management now? ;)
Re: Facebook PHP Source Code from August 2007
#8Re: Facebook PHP Source Code from August 2007
#9Reminds me that they had the poke feature.
Re: Facebook PHP Source Code from August 2007
#10Amazing that they initially wrote this code and now to join FB you need to answer questions based on backtracking and dynamic programming. :) I wonder if they could do the questions themselves back then.
I didn't read it carefully and I don't know much PHP, but is the code really that bad? There's all kinds of worse code out there running everything. As long as it's relatively well organized, you can worry about refactoring as you scale up.