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.
!
I didn't know that: thanks for the tip :)
'and' should not be used in logical comparisions, it should be used only in flow logic, for example in ruby on rails controllers you often see something like:
yes, using 'and' often gives valid results but it's bad practice because the 'and' operation has lower precedence than '&&' and you asking for strange bugs in code
I agree to that.
Oh, I see. I get it now.
"As no one knows what Santa will give them, gifts can be anything [...]"
It's suppose to have a bit of black box presence around it.
Nice kata. I think you should go without "The kata tests are the same as the sample fixtures.", though.
I was also going to propose this. Test cases over a million and with length multiples of three.
This is a very nice kata. I enjoyed doing it.
This comment is hidden because it contains spoiler information about the solution
I don't think so. If the language provides the functionality, why not use it? It is a clever way to improve your code throughput and a valid way to teach others a valid example.
Wow, nice function programming Kata!