Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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.

http://www.youtube.com/watch?v=unzbQYmlPys
  • 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

    majo:

    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?

    ...roboticus

    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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://902524]
Approved by herveus
help
Chatterbox?
[marto]: yes, trying to do anything other than sideload to android via windows has always been more effort than linux
[Corion]: The inconvenient thing is that my Linux machine is in another room than my desktop, so I have to walk up to it while some device is hooked up to it, just to press "allow" for install tasks etc :-)
[Corion]: I see the Chuwi H9 Air, but at the price of 8 or 9 cheapo tablets, that
[Corion]: ... that's not that great for quasi-disposable devices ;)
[Eily]: can't you just remote connect to the linux machine ?
[marto]: IIRC the hiemdal suite made life much easier on windows, and people on XDA developers put out released of windows only pages for adb that made it less of a pain
[marto]: Eily you can't remote connect the physical device via USB ;)
[Corion]: Eily: Sure, that's what I do, but some things you need to do on the Android device directly, like when navigating the bootloader :-)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2018-05-23 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?