Open main menu

CDOT Wiki β


Team !YOU - OOP344

220 bytes added, 15:31, 25 January 2010
(Discussion: Use of comments): Added preference
| fmDeOliveira || I prefer using // for single-line comments and /* */ for blocks of commented code. This would avoid problems commenting out blocks of code that already have single-line comments (the end of the single-line comment would not be interpreted as the end of the block comment).
| MattAdams || I also like using // for end of the line comments to slitly explain whats going on, and use /* */ for commented out code, as well as explaining a certain block of code that is confusing to understand.
=== (Discussion: Nesting) ===