Code Quality Has Nothing to Do With Product Success
Dhanji's most counterintuitive career lesson: engineers think code quality drives a successful product, but the two have nothing to do with each other. His favorite example is YouTube — reportedly storing videos as blobs in MySQL on a slow Python stack, widely mocked at Google, yet it blew away the better-architected Google Video (which supported more formats and higher resolution). Focus on the problem you solve for people, not the elegance of the code.
- Engineers believe code quality builds successful products; Dhanji says the two are unrelated
- YouTube was reportedly storing videos as blobs in MySQL on a slow Python stack
- Google Video was better-architected (more formats, higher resolution) and lost anyway
- The point of the code is to solve a specific problem for people — the code could be thrown away tomorrow
“A lot of engineers think that code quality is important to building a successful product. The two have nothing to do with each other.”
“how horrible the YouTube codebases and how terrible their architecture is and they're storing videos as blobs in my SQL and whatnot.”