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.
@AndreaLaforgia, in practice you should never "expect" too much about code; anything not declared
final
is modifiable.IMO best practice is make code intent clearer by getting into habit of using
final
modifier wherever appropriate - eg Unless you are going to changep0
then it should be declaredfinal p0
.+1 for using the += operation to cast to int and auto floor it! We can't increase the population by 0.25 of a person.