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.
Yep, it will. And if you read the kata, that will always produce the result required by the kata.
time / 2
will produce a trunacted integer result.I think people don't understand "Best Practices" ... or maybe they understand irony just a little too well.
I like this because it does integer division, not float division.
While the clang++ compiler does a magnificent job of understanding the automatic typing between integers and doubles, I've had compilers in the past that would throw a hissy fit without explicity recasting the result.