Clean Coder
If you follow me on facebook you know that I’ve been publishing daily CoronaVirus statistics. I generate these statistics using the daily updates in the Johns Hopkins github repository.
At first I just hand copied the data into a spreadsheet. But that became tedious quite rapidly.
Then, in late March, I wrote a little Clojure program to extract and process the data. Every morning I pull the repo, and then run my little program. It reads the files, does the math, and prints the results.
Of course I used TDD to write this little program.
But over the last several weeks I’ve made quite a few small modifications to the program; and it has grown substantially. In making these adaptations I chose to use a different discipline: REPL Driven Design.
REPL Driven Design is quite popular in Clojure circles. It’s also quite seductive. The idea is that you try some experiments
To read the full article click on the 'post' link at the top.