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.
you think so?
Should be 7 kyu.
This comment is hidden because it contains spoiler information about the solution
The JavaScript translation uses PascalCase for the name of the function (SubtractSum), but according to JavaScript naming conventions it should be using camelCase for this (subtractSum), this should be corrected both in the default code and in the tests.
Thank you for explanation.
@Kacarott: Got it. What is your opinion on the part if it was interesting enough, i.e. if it would be worth to revive it? I can only see the downvotes, not the reason for each vote, correct?
Retired kata stay retired, and they cannot be brought back. Adding tests to a retired kata won't help it, but if you want you can still add them and ask for review on Discord if you want to train your authoring skills and get some practice before authoring your next challenge.
Retirement is permanent, but if you think you can improve it a lot to prevent retirement next time, you could simply create a new kata and copy your code across. However if the cause of retirement was people not finding it interesting enough, then simply adding random tests probably wont change that.
Does it still make sense now for me to add the automatic tests as I had planned to do, so to improve the kata, or is this retirement a permanent thing and the kata is dismissed for good, so I should forget about it?
If you are interested with creating kata for Codewars, you can find following resources helpful:
Thanks for the insights, Fbasham! I see. Does it still make sense now for me to add the automatic tests as I had planned to do after your comment, so to improve the kata, or is this retirement a permanent thing and the kata is dismissed for good?
With an empty string it returns true, yes. That might seem counter intuitive in regards of the kata's description, but it is what the tests expect when no g is found at all, see e.g.: ("A half of a half is a quarter.", true)
Just a hunch, but beta is a ruthless process. If your kata isn't (nearly) perfect or interesting, or novel, from the start, chances are it will be downvoted. After so many downvotes, it's automatically retired. Without random tests, most power users will downvote immediately.
Downvotes and retirement
Can anyone please enlighten me, why my kata received as many downvotes and has been retired?
What did you dislike / what should I do better next time and what was the reason for ditching it alltogether?
Thank you very much for the information!
Loading more items...