So to see what’s returned for 3 for example you would have to check the entire function to see if it’s not matched somewhere below and that if actually gets to the default return. This way the first time it matches 3 you can stop reading. It’s has better maintainability.
So to see what’s returned for 3 for example you would have to check the entire function to see if it’s not matched somewhere below and that if actually gets to the default return. This way the first time it matches 3 you can stop reading. It’s has better maintainability.