Early return in Kotlin
In programming, there is an open discussion as to whether you should only have one return statement.You can use these two options (or more with variations or more arguments): I prefer the second option, to have more than one return statement. I see it as more readable, but I...