August Meeting 2008

From DojoWiki

Jump to: navigation, search

August 26th 2008 Meeting

We did Dave Thomas's Kata Four, "Data Munging"

Franklin worked in Perl, fully parsing each data file. He got to a pretty clean solution with an abstract class with two concrete implementations, one for each kind of data file.

I started in Python, with simple positional data extraction. The code was a mess. Then I did a couple of very short AWK programs with a little bit of shell wrapper, that was, at least, very short. I returned to Python and did a short and fairly clean implementation where the only conditional code to deal with the two different data files was picking the regular expression used to grab the data fields.

I just realized that we'd done Kata Four at the December_5th_Meeting, 2006. At least Franklin and I worked in three different languages :-)

Personal tools