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.
This comment is hidden because it contains spoiler information about the solution
The function determineMembership is lifted (and should not be in function closure btw), making the code more reusable and modular. Nicer for the next dev or myself after 6 weeks to modify this code.
Agreed
Why is this voted as the best practice?
Why do we need a closure here?
How is this better than the answer by 'jhairau'? ( http://www.codewars.com/kata/reviews/5506c16fa11c0a0eef0000a3/groups/55fd43d97d94ac4d260000da )