X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Doc%2FWebsite%2FCodingStyle.html;h=8deca8f1af7224fb40dba27a2489bc79cb403610;hb=4378b05ce0f0ed0b89492e65bfa6d1db57fca4f7;hp=784ab04306904c4c079a1b67d69eab1a64c893a7;hpb=e1e4959f7c4aaacb90fc1ce89a99675011b8d938;p=gdcm.git diff --git a/Doc/Website/CodingStyle.html b/Doc/Website/CodingStyle.html index 784ab043..8deca8f1 100644 --- a/Doc/Website/CodingStyle.html +++ b/Doc/Website/CodingStyle.html @@ -48,9 +48,9 @@ * Naming conventions: - Generalities: - In general, names are constructued by using case change to indicate + In general, names are constructed by using case change to indicate separate words, as in ImageDataSize (standing for "image data size"). - Underscores are not used. Variable names are chosen carefully with the + Underscores are not used. Variable names are choosen carefully with the intention to convey the meaning behind the code. Names are generally spelled out; use of abbreviations is discouraged. [Note: abbreviation are allowable when in common use, and should be in @@ -256,7 +256,7 @@ and not T* foo = 0; nor - T * foo; + T * foo = 0; - Assume T is a given type. When declaring or defining with the "reference to T" notation, the & character must be adjacent to the variable and not the type. That is use :