small medium large xlarge

Back to: All Forums  PragPub
Generic-user-small
07 Sep 2012, 12:47
paul callaghan (14 posts)

Time to do some real coding, and I’m going to run through a few of Dave Thomas’s kata problems.

Any preferences as to which ones I should do?

Cheers Paul

Img_2084_pragsmall
13 Sep 2012, 12:09
Stuart Gale (6 posts)

How about the Counting Code Lines kata? You might get some algebraic data types in use with that.

Img_2084_pragsmall
13 Sep 2012, 14:29
Stuart Gale (6 posts)

Or perhaps one of the Business Rules katas?

Generic-user-small
22 Sep 2012, 09:41
paul callaghan (14 posts)

I only had space to do one this month - even though there’s only about 15 lines of code in the article…

Business rules would be interesting. I’d probably do it as a list of functions which test for a rule condition and then return a Maybe value. It will be open ended on what kind of effects each rule should be allowed.

Hollowbody 5_pragsmall
05 Dec 2012, 21:51
Yegor Kudinov (1 post)

Yep, +1 for Business Rules And Thanx!

You must be logged in to comment