> Quality of code has never had anything to do with which products are successful. I bet both youtube and facebook's codebase is a tangled mess.
The code’s value is measured in its usefulness to control and extend the Facebook system. Without the system, the code is worthless. On the flip side, the system’s value is also tied to its ability to change… which is easier to do if the code is well organized, verified, and testable.