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.
Nice. But almost unreadable. I'd refactor into a few functions.
This comment is hidden because it contains spoiler information about the solution
I'll shout them out as I go - but it's really looking much better already.
Line 5, 'Whe' should be 'We'.
I think that a hash would work well, but don't get me wrong - I don't think your solution is wrong (I really like it wrapped in a class), it's just that I don't like
case
statements - they look kinda ugly to me :DThis 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
This comment is hidden because it contains spoiler information about the solution
This is a great kata - seriously, well done. You've taught me a seemingly complicated functional CS concept through an active and engaging lesson.
My only feedback would be to tighten up some of the language in the description. There are a few typos scattered - including the title!
I like that this solution used a class. I don't like the switch in
interperet
...Nice - but the case statement feels a little bit of a headache...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks for the fix :D
Ruby description of the problem is in Haskell. Not cool.
Loading more items...