I had managers who lived and died using the 1st return policy for the sake of "readability", although in some cases it was more readable without it.
The bottom line is ... if the person who signs your salary says that you are only going to use 1 refund, use 1 refund. The best way to do this is
type myfunc(params) {
type result = defaultValue;
// actual function here, word for word
// replace "return $1" with "result = $1"
return result;
}
- . , , ZERO, , , "return" ( ) "result =", . , , , , , ?: -)