personal web log written by izabeera and dryobates

refactoring coding dojo TDD

Refactoring in Coding Dojo

by dryobates

On today's Coding Dojo we have focused on refactoring part from TDD basic cycle. That was hard part...

Problem to solve was quite simple: Tennis game. I thought that it’ll be quick kata and we’ll do at least two of them at this coding dojo.

I was wrong. What I thought was obvious to refactor wasn’t so obvious for participants. Every one had different idea what is good code and what isn’t. Short information on SOLID [1] rules that I thought would help them to judge which code is good and which isn’t appeared to be not enough argument.

We’ll surely repeat that kata as it made a lot of controversy. Nonetheless I can count that meeting as a success. We’ve all get to the conclusion that we should start from small changes before we dive into the larger.

Jakub Stolarski. Software engineer. I work professionally as programmer since 2005. Speeding up software development with Test Driven Development, task automation and optimization for performance are things that focus my mind from my early career up to now. If you ask me for my religion: Python, Vim and FreeBSD are my trinity ;) Email:


Tag cloud