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 solution is clever indeed, but I would not call it best practice or beautiful. Let's assume that you inherit this piece of code. How would you modify or debug it? I would much rather work on the one from "tomtheisen".
Very nice (and fast) solution.