3 ms·
> It's entirely untestable, not repeatable, undocumented and just stuck together with flaky glue code. Code that's testable, repeatable, well-documented and el
by 7Figures2Commas 12y ago
> It's entirely untestable, not repeatable, undocumented and just stuck together with flaky glue code.
Code that's testable, repeatable, well-documented and elegant doesn't guarantee that an application will actually meet anyone's needs in a commercially sufficient manner.
The WordPress code base is frequently criticized, and the Facebook index.php code from 2007[1] will probably make some people cringe, but these are just two of many examples demonstrating that if you want to "do well", building applications that work and meet the needs of their users is initially a lot more important than "proper technique."
[1] https://gist.github.com/nikcub/3833406 https://gist.github.com/nikcub/3833406
- Wilya 12y agoIf the Facebook code had stayed untestable and undocumented, it would never have worked at their current scale. Testing and documentation make a difference in the long term. Unless your business model is "build a shiny tower and sell it before it crumbles", at some point, you'll have to fix the mess you made in the early days of the application.