Ad
  • Custom User Avatar

    This looks like a well developed Kata translation for Clojure (I especially liked your solution and its use of reduce to suscintly capture application of fsm to events). I am quite new to translations, and tried to approve but I was not able to - something about needing to be able to co-author to approve.

  • Custom User Avatar

    just re-wrote my Clojure code in Python (pretty much verbatum) and it passed all the tests. In both implementations word,,,,word --> word,,,,SPACE word.
    .. to me this is a correct and resonable interpretation of th rules.

  • Custom User Avatar

    Yes, I am facing the same confusion. I am certain I can make my program behave in the way the tests are demanding. What I really cannot understand is what interpreation of the rules would lead to the input output behaviour you documented, ie:
    word,,,,word --> word, ,, , word
    does not seem to follow from the rules. ( I am also working in Clojure )

  • Custom User Avatar

    Thanks so much! Submitted answer and it worked.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Wanted to propose an approach to Kata that emphasizes adaptabilty to changing requirements. Not too controversial to state that what separates good design from bad, is the ability of good design to adapt to change. Would be interesting to have a Kata that changes over time, and solutions have to be altered (or scrapped and started over) to meet changing requirements. Such an approach may require a changes to the underlying CodeWars system. Do let me know if something like this has been done before.

  • Default User Avatar

    Great question, Everstalk. I agree with what dinglemouse said. You can definitely learn from other approaches, and it is really impressive when someone solves a problem in a 'one liner'. When I see an impressive solution, it is good to dive in and disect each element of the solution -- piece by piece. Try to have an alternative environment for testing out your code, out side of Codewars. That way you can run the alternative solution, break-it down, and test it out.

  • Default User Avatar

    Looking for the documentation on how to get involved in Kata Translation. I am reasonably proficient in Python, and learning Clojure. I could can see that I would learn stuff and contribute to the community by translating Kata with Python solutions into Clojure. Would appreciate advice on how to get started in this direction.
    Thanks!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution