Open main menu

CDOT Wiki β

Changes

Team !YOU - OOP344

320 bytes added, 15:28, 25 January 2010
m
(Discussion: Variable names): Added feedback
| 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.
|-
 
| MattAdams || I also agree w/ Felipe. Using Camle notation is a nice and easy way to name variables. However, I would have said numOfPeople, instead of 'numberOfPeople'. As for #define goes. Use UPPER case, and separate words by the underscore(_). ie. #define ISBN_LENGTH, #define AREA_MAX, #define MAX, #define LENGTH
|}
 
=== (Discussion: Use of comments) ===
1
edit