Changes

Jump to: navigation, search

Team !YOU - OOP344

489 bytes added, 13:26, 25 January 2010
m
Discussion: Use of comments
|-
| fmDeOliveira || I suggest we avoid abbreviations, since what might be obvious for some could be confusing for others. Full words or short expressions could be used where the first letter is always lower case, and the first letter of the following words are upper case. Examples: cost, totalPrice, numberOfPeople.
|-
|}
 
=== (Discussion: Use of comments) ===
When should we use double slash (//) and when should we use slash-asterisk (/* */)?
 
 
{| class="wikitable" border="1"
|+ Discussion
! Name !! Comment
|-
| 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).
|-
|}

Navigation menu