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 comment is hidden because it contains spoiler information about the solution
While one should refrain from creating a spaghetti control flow, the "single entry, single return" guideline originates from times and reasons long forgotten and it has not much of applicaiton today: https://softwareengineering.stackexchange.com/questions/118703/where-did-the-notion-of-one-return-only-come-from . People stick to it because they like to repeat seemingly authoritative stuff without exactly understanding it. Excessive sticking to Single Return Rule (no more room for Single Entry Rule in modern languages) is usually a cargo cult programming at its best.
This comment is hidden because it contains spoiler information about the solution