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.
Not an issue
No need to be embarrased. :) Thanks for helping me improve the test cases.
Just looking at this again and your issue has higlighted a way in which the fixed test cases could be improved. The random test cases are showing you what is wrong with your code, but the fixed ones aren't affected by the error, which is why they pass.
I will update the fixed test cases and that will give you a better hint.
This comment is hidden because it contains spoiler information about the solution
Upon further exposure to programming and awareness of my lack of understanding of anything - tetreault you are correct. This is not chaining. it's a foldr method with an array of functions. that is all. I concede to you sir. However I can't change the name of this kata. I must apologize profusely. :'(
You don't have to check if the crew weight is greater than draft.
You have to check if the draft is more than 20 units greater than the weight of crew.
Imho the description does not distract too much, you can still skip it going straight to the "Task" part and having some flavour isn't that bad, just to not have a site with a bunch of soulless problems.
Just my 0.02€, of course.
Oh, and while at it: kata green-lit, random tests added to the JS version too!
I don't know I think it should stay :P it does not effect the task :)
Thanks. I just changed the code to uppercase all the input letters.
Well jQuery chaining isn't really specific to jQuery, its native javascript at work. The type of chaining you're talking about is done by returning the "this" reference in the function. This type of chaining is incredibly useful, and has a lot of excellent applications. However, it does have it's limitations.
The chainer that this kata is describing is meant to be general. Such that you can apply it anywhere you need to de sequential operations, in a very clean manner. The functions/methods passed into it can be from anywhere and as such allow for a different type of versatility.