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.
One-liners tend to have that side-effect... And it probably is the case here.
However, remember that «Premature optimization is the root of all evil»: If I would have to create a big bunch of variables to avoid recalculations, the code would become unreadable quite quick.
Furthermore, nothing is won when you replace two calculations with an assignment and a calculation! You only start to win something with three or more recalculations avoided!