Skip to topic
|
Skip to bottom
Jump:
TModeling
TModeling Web
TModeling Web Home
Changes
Notify
Index
Search
Webs
BioGeometry
Main
TModeling
TWiki
Edit
Attach
Printable
TModeling.CommentingControlStructures
r1.1 - 16 Jun 2008 - 02:31 - Main.guest
topic end
Start of topic |
Skip to actions
*Commenting Control Structures* --- * _if_, _case_, _loops_ , or long blocks of statements are natural insertion points for summary comments * Comment the end of control structures that span more than one page in the editor, this allows matching of begin/end more easily <verbatim> while (!bDone) { ... // very long sequence of instructions here } // while (!bDone) </verbatim> * Treat end of loop comments as a warning indicating complicated code that should be refactored into it's own sub-routine, simplifying the parent routine * Rewrite any complicated code that requires tedious documentation so the tedious documentation is no longer necessary -- Main.ShawnDB - 16 Jun 2008
to top
End of topic
Skip to action links
|
Back to top
Edit
|
Attach image or document
|
Printable version
|
Raw text
|
More topic actions
Revisions: | r1.1
|
Total page history
|
Backlinks
You are here:
TModeling
>
CommentingControlStructures
to top
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback