User Tools

Site Tools


guides:programstyle:goto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
guides:programstyle:goto [2021/03/26 13:14] – typo jhoggardguides: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.txt · Last modified: 2022/08/02 11:59 by 127.0.0.1