Laurent,
This thread is a set up.  Specifically, I'm hoping these guys pick up
the blog post:

http://www.katacasts.com/

I plan on posting a video in about a week going through everything.
Demonstrate the power of the sequence abstraction, and the
similarities of regexs and predicates.  Show how Clojure makes your
life simple.

Sean

On Jan 25, 10:29 am, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> Hello,
>
> So far, i've encountered the term of "kata" applied to software in a
> somewhat similar sense as in the martial arts: very detailed
> step-by-step explanation of how one things about the problem, solves
> it bit by bit (does he first play with some functions at the REPL,
> does he start to code from scratch -if so, what mental steps did he
> made that was not materialized in a repl session -or documentation
> browsing or whatever-).
>
> *That* would make for interesting comparisons, I guess. But that's
> much work to formalize than just playing golf, of course :-)
>
> Would like to share this with you, because I thougth the name of the
> post was a bit misleading, while still bringing to the table a way to
> share knowledge that might be interesting for everybody which does not
> have the chance to have a seasoned clojurer to peer program with.
>
> examples of katas in java by uncle bob :
>  * bowling kata :http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata( 
> direct
> link to ppt:http://butunclebob.com/files/downloads/Bowling%20Game%20Kata.ppt
> )
>  * primes factor kata 
> :http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata(direct
> link to ppt:http://butunclebob.com/files/downloads/Prime%20Factors%20Kata.ppt
> ) (or as a video:http://katas.softwarecraftsmanship.org/?p=71)
>
> HTH,
>
> --
> Laurent
>
> 2010/1/25 Michał Marczyk <michal.marc...@gmail.com>:
>
> > Hi Group,
>
> > thought this nice puzzle would make a good occasion for a first
> > post. :-)
>
> > A solution to the original problem from c.l.s, with keywords replacing
> > symbols:
>
> > (ns sogaard-kata
> >  (:use clojure.contrib.seq-utils))
>
> > (defn sogaard-kata [xs]
> >  (map (fn [[k ys]] (into (vec k) (vec ys)))
> >       (partition-all 2 (partition-by keyword? xs))))
>
> > (sogaard-kata [:a 1 2 3 :b 4 5 6 :c 7 8 9])
> > ; -> ([:a 1 2 3] [:b 4 5 6] [:c 7 8 9])
>
> > This makes the assumption that the first item in the sequence is a
> > keyword; the problem seems underspecified otherwise.
>
> > All best,
> > Michał
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to clojure@googlegroups.com
> > Note that posts from new members are moderated - please be patient with 
> > your first post.
> > To unsubscribe from this group, send email to
> > clojure+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to