November, 2010

Posts
  • Code Monkey Have Fun

    Bowling Kata

    • 7 Comments
    Our team’s been doing Katas to get the hang of TDD. One such kata ( calculating bowling scores ) struck me as insanely simple with pattern matching in F#: let rec score acc = function | 10 :: (a :: b :: _ as t) -> score (acc + 10 + a + b)...
Page 1 of 1 (1 items)