As we all know, in the software development world there is a huge amount of passionate debate about coding standards: brackets on the same line or new line, when to indent and by how much, tabs or spaces, etc.
Has anyone ever done any actual scientific research to determine what coding standards produce the "best" code (where "best" could be any specific criterion: readable, error-free, etc)?
How would one even go about doing this? How does one quantify what is the "best" standard? Clearly it would have to be language-specific. Is it even possible?