Too Long; Didn't Read
Do Not Refactor Code That is Not Yet Working: Beautiful Code is Working Code. "Beautiful" source code is one that is working and passing automated tests, including acceptance tests. Test-driven development is the most widely used agile method for software development. The worst thing a developer can do, in addition to commiting code that does not compile, is to break the source code of the test cases. The software must work before we think about maintenance or flexibility. The most sacred principle of TDD is its workflow.