Friday, February 19, 2016

Tiny job application problem solved in Clojure

Today Álvaro García passed me this problem to play with.

I solved it first in the REPL:

Then I collected all the code in the extract-info function:

Tuesday, February 9, 2016

Kata: Back to the Checkout in Clojure

I just did the Back to the Checkout kata.

These are the tests using Midje:

and this is the resulting code:

I did a mix of TDD and playing in the REPL to solve it.

You can check commits step by step here.

You can find all the code on GitHub.