Programming and people watching.
This is the humble site of Sebastian Hermida.

For this sundayconf, I have a good selection of music, no, videos, no, code, no, music!

Unclebob’s prime factors Kata

Even though the video is called “Prime Factor Kata (Rough)”, the flow of the kata is perfect. The music matches Unclebob’s movement from the spec to the code and back. I had mixed feelings about the choice of IntelliJ but was surprised with the “introduce variable” popup. I wished I could have seen more refactoring tools. After hearing great things about this kata on twitter this week, the video lived to his expectations.

Here is the video

Corey Haines’ Number to LCD

Corey’s kata was more challenging that Unclebob’s and turned out to be great. The resolution of the video could have been a little better but it was easy to follow what was going on. The music choice was on target: crescendos and allegros kept me wondering about what was going to happen next. But I wish I could hear Corey’s narrative for some portion of the kata. Especially at the beginning. With 2 examples, Corey focuses on refactoring his code for a few minutes. He moves blocks of code, create structures, extract variables and keeps running the tests. The beautiful thing about all this refactoring is that adding the next 8 examples was a breeze.

That reminded me of a quote I saw this week about sharpening the saw:

If I had eight hours to chop down a tree, I’d spend six sharpening my axe. - Abraham Lincoln.

Here is the video