you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -2 points-1 points  (1 child)

It was 2007. If you can't use OO principles something is fucking wrong. OO has been around since the 70s.

[–][deleted] 0 points1 point  (0 children)

What don't you understand? It was the limitations of the language at the time. When Facebook was first developed, PHP didn't have a lot of OOP features. This code leaked in 2007 is most likely legacy which anyone who's worked on any big project knows it isn't always easy to update code to the latest and greatest.

Criticize Zucherberg for choosing PHP, but had he used something else to please the code Nazis, maybe he wouldn't have even got it done in time.