in reply to Re^4: Useless use of string in return statement
in thread Useless use of string in return statement
Someone, I believe it was Larry, said that the choice should be made such that the "most important part" of the statement comes first/leftmost. So in the case of error handling - such as the failure of open - using the modifier 'if' is appropriate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Useless use of string in return statement
by Tux (Canon) on Apr 13, 2021 at 16:20 UTC | |
by jdporter (Paladin) on Apr 13, 2021 at 16:28 UTC |