guides:programstyle:goto
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guides:programstyle:goto [2021/03/26 13:14] – typo jhoggard | guides:programstyle:goto [2022/08/02 11:59] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * Do not use goto statements | * Do not use goto statements | ||
| * Only use break statements in switch statements | * Only use break statements in switch statements | ||
| - | * Only use a single return statement per function, it must be the last statement in the function. | + | * Only use a single return statement per function. It must be the last statement in the function. |
| * All functions should have a return statement. | * All functions should have a return statement. | ||
guides/programstyle/goto.1616764445.txt.gz · Last modified: 2022/08/02 11:59 (external edit)