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.
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.
@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?
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?
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)
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!
Hi Fbasham, thank you for your feedback! Can you point me in the right direction for how to do that? It's my first kata.
This comment is hidden because it contains spoiler information about the solution
Please put a note which day is considered to be counting as "until Christmas" (25th of December) as in some cultures - although even there technically not 100% correct - some may think intuitively of the 24th of December as "until" Christmas, since in their culture this is the day of the peak of the celebration.
Also, as already mentioned in another comment, the instruction "She will start counting from the first of December." is wrong, as she begins counting from the 26th of December.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...