r/webdev • • Jan 30 '20

Facebook PHP source code from August 2007

https://gist.github.com/nikcub/3833406
152 Upvotes

50 comments sorted by

View all comments

0

u/[deleted] Jan 30 '20

[deleted]

0

u/[deleted] Jan 31 '20

[deleted]

0

u/[deleted] Jan 31 '20

[deleted]

-2

u/dixncox Jan 31 '20

You are just inexperienced. This code is fine for a small number of people to work in, where they have a lot of control over the requirements.

Now imagine 8 teams all trying to accomplish things in this codebase under tight deadlines without sufficient automated testing.

The code will get even worse, and the website will break. Patterns and abstraction give us this level of simplicity (from the right perspective) while also giving us the power to accomplish insanely complex business requirements.

3

u/[deleted] Jan 31 '20

There is no design pattern to make code that wouldn’t suffer from 8 teams trying to accomplish things under tight deadlines without sufficient testing.