Skip to content

Conversation

H3wastooshort
Copy link

Don't worry i tested it.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while the function contains a for-loop you return / exit the function inside a case. so multiple options are not processed.

furthermore you can use curly brackets to start a new block where you introduce new variables instead of using an empty statement. this is cleaner and it shows clearly the lifetime of that variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants