4. The Constraints
Get a small problem you want to
solve in code
You can use all the documentation
you need
You can use a text editor with
syntax highlighting, but…
@jrhuerta
7. “composing”
Come up with a test and write it
down in the text editor.
Reason about why it must fail
right now.
@jrhuerta
8. “composing”
Write down the code that will
make the test green. Explain to
yourself why it will make the
test pass.
Double check for syntax
errors, exceptions...
@jrhuerta
9. “composing”
Refactor the code.
Explain to yourself/PARTNER why
the refactoring is better.
Explain why all the tests still pass.
Double check for syntax
errors, exceptions, ...
@jrhuerta