Skip to content
Federico Tomassetti edited this page Feb 27, 2015 · 2 revisions

Make the process repeatable across platforms (given a seed it should have always the same results)he To do that we first need to make the code testable. To make it testable we need to refactor it and make it more comprehensible.

Make the code more comprehensible

  • we should have files no longer than 500 lines
  • we should have methods no longer than 50 lines
  • each class should have no more than 12 fields
  • each class should have no more than 20 methods

Testability

  • we should test every single method
  • our tests should pass on Mac OS-X, Linux and windows
Clone this wiki locally