Agile Technical Practices Distilled

Pedro Moreira Santos, Marco Consolaro and Alessandro Di Gioia

November 03, 2019

We should not mutate any variables until we reach this transformation. This is why previous transformations favored recursion over loops. Traditional loops in imperative languages tend to rely on variable mutation.

November 03, 2019

We want to use tail recursion5 even if our language compiler does not optimize for it. Grossly oversimplifying, the recursive function call should be the last thing we execute in an expression.

November 03, 2019

If we end up with too many if statements, one option is to refactor them into a lookup table.

October 27, 2019

what the assertion should look like for the behavior I’m testing.

October 13, 2019

Take special care to not start implementing a combination of distinct behaviors before they are tested independently.

October 13, 2019

Classic TDD is the original approach to TDD created by Kent Beck. It is also known as the Detroit/Chicago school of TDD. This