Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

String Calculator TDD Kata done in Perl

by maio (Acolyte)
on May 02, 2011 at 14:48 UTC ( #902524=CUFP: print w/ replies, xml ) Need Help??

Few weeks ago I attended this really nice event in Krakow, Poland called Code Retreat. I went there to improve my coding skills and I was surprised that there were no Perl programmers and everyone was like "WTF. Someone still codes and actually writes tests in Perl? " :) So we did few pair programming sessions and I showed them how I do it.

Anyway - when I came home I googled for Perl TDD screencasts and found exactly 0 of them. So I started to think about recording one. Finally I managed to do so and I uploaded it to Youtube.

I did chose to try TDD Kata by Roy Osherove which has been implemented in several different languages, AutoHotKey being one of them ... :) It's been pretty nice experience for me and I found that katas are good way to improve my skill. Also, seeing myself coding helped me to reveal few things that I would like to improve in future.

Comment on String Calculator TDD Kata done in Perl
Replies are listed 'Best First'.
Re: String Calculator TDD Kata done in Perl
by roboticus (Chancellor) on May 17, 2011 at 11:56 UTC


    It looks like you're running vim with some extensions. If so, which one(s) are you using? If not, what is the environment you're using?


    When your only tool is a hammer, all problems look like your thumb.

      Is there anything particular that did catch your attention? Anyway - it's just standard Vim. I deliberately turned off all scripts for this recording so that watching isn't too confusing. Auto run of tests is handled by guard with Prove extension. It waits for file modification(save) and runs prove for that file and displays result as desktop notification. I'm using black background for them so they don't disturb me much, but they are not part of the Vim.
        What color scheme are you using?
Re: String Calculator TDD Kata done in Perl
by John M. Dlugosz (Monsignor) on May 19, 2011 at 16:56 UTC
    What is a "kata" in this context?

    Perhaps there are no screencasts because Perl was doing TDD before the "screencast" was trendy. Look in perldoc instead. Maybe you can convert some to bring in more new blood.

    BTW, my name is actually spelled Długosz. Maybe you've heard of it?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://902524]
Approved by herveus
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-11-29 22:16 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls