From index.php, an if statement for one particular user // Merman's Admin profile always links to the Merman's home if (user_has_obj_attached($user)) { redirect('mhome.php', 'www'); }
Facebook PHP Source Code from August 2007
11–20 of 99 posts
Re: Facebook PHP Source Code from August 2007
#12Can't Facebook just issue a takedown request and have these files removed?
Re: Facebook PHP Source Code from August 2007
#13> Worth preserving as part of Internet history. Can't Facebook just issue a takedown request and have these files removed?
Re: Facebook PHP Source Code from August 2007
#14The other way to look at this is to say "Hah, clearly business success isn't a function of code quality"
Re: Facebook PHP Source Code from August 2007
#15Amazing 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.
From time to time, Facebook and other companies study the effectiveness of their hiring process by comparing employee performance and interview performance. I believe dynamic programming questions were removed because there was not a strong link between success in this question and future performance.
Re: Facebook PHP Source Code from August 2007
#16One way to look at this is to say "Hah, how shameful." The other way to look at this is to say "Hah, clearly business success isn't a function of code quality"
Mind you, early Facebook wasn’t exactly a “tech business”—the code wasn’t making them any money, such that having a bug in the code would make them less money.
Really, Facebook only became a “tech business” once they got into 1. Messaging, and 2. Advertising. Then they had SLAs, and breaking those SLAs meant losing users/customers; and their ability to deliver on those SLAs became directly related to the quality of their code.
Re: Facebook PHP Source Code from August 2007
#17Re: Facebook PHP Source Code from August 2007
#18Amazing 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.
Code can't use algorithms because it's written in PHP? I'm not following.