Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Quite possibly a solution problem, not a kata problem. 441 Submitted solutions did not have this problem.
You didn't, explicitly or implicitly, call
.toString()
on anundefined
value somewhere in your solution, did you?Closing.
Ah, I actually just realized the main reason why when you mentioned cheat. To translate a kata, you must see the solution in another language to do so - which is a security hole for cheating. You would have to forfeit the kata in order to see the solutions - which we also wanted to avoid.
Hi, fair points but both are debatable.
Ad 2: I'm not dreaming about a perfect system as there are no perfect systems :) If I suppose that one doesn't want to cheat, then he has to solve the problem in the translated language. This is even more true, when there are random tests.
Ad 1: Many katas are in JavaScript. The fact that I have to produce a low-quality JS solution doesn't help me much in Python translations. But this could be different for other people.
A few reasons.
Hi, I have a question. Why is this: "Once you have unlocked the solutions in any of the existing languages" required? Why should one e. g. know JavaScript, Haskell or other language to translate a kata to Python (or vice versa)? In many cases a translation can be made based only on description.
I understand the technical side (i. e. when one edits a kata he can also see the solution and test cases in original language and the existing translation), but this is more a limitation than a reason.
Thanks,
suic
Thanks,
suic
Once you have unlocked the solutions in any of the existing languages, you can then add a new language to the kata by clicking on the
+
icon next to the existing languages. From there you can create a kata translation. Kata translations need to be approved by moderators.p.s. Something to remember when creating a translation is that the description is shared between all languages, so you need to add language examples to the description in addition to the ones that are already there. Also if a kata has language examples, then you must add examples for the new language. This tends to hold up some translations from being approved.