The best way to ensure good code is to have a good organization. This paper from Microsoft looking at 50M lines of code found that organizational factors were far more powerful in explaining the number of bugs than any technical aspect of the project. https://
microsoft.com/en-us/research
/wp-content/uploads/2016/02/tr-2008-11.pdf
…
Organizational factors matter more than technical aspects for code quality
By
–
