in reply to Re^2: Useless use of string in return statement
in thread Useless use of string in return statement
Use block if, not postfix if
Are you suggesting postfix if should never be used?
I agree that adding an extra conditional statement requires more work and more consideration but there are cases, like my conditional return statement, where it is rather unlikely that any extra statements would want to be added to the conditional execution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Useless use of string in return statement
by Your Mother (Archbishop) on Apr 13, 2021 at 15:13 UTC | |
by Bod (Parson) on Apr 13, 2021 at 15:20 UTC | |
|
Re^4: Useless use of string in return statement
by haukex (Archbishop) on Apr 13, 2021 at 15:21 UTC | |
by jdporter (Paladin) on Apr 13, 2021 at 16:15 UTC | |
by Tux (Canon) on Apr 13, 2021 at 16:20 UTC | |
by jdporter (Paladin) on Apr 13, 2021 at 16:28 UTC | |
|
Re^4: Useless use of string in return statement
by eyepopslikeamosquito (Archbishop) on Apr 13, 2021 at 23:39 UTC | |
by Bod (Parson) on Apr 14, 2021 at 11:23 UTC | |
by Bod (Parson) on Apr 14, 2021 at 11:30 UTC |