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.
Thanks, I did mine like this and wasn't sure about it.
Note that although this works, this is not best practice as a new copy of the bark method will be created for each instance, rather than sharing a single instance of the bark method via inheritance. No inheritance is being utilized here. So it results in unnecessary extra memory usage.
Ah yes, good catch. I was going for dense and elegant, and missed that case.
This one counts the string "True" along with the boolean True.