diff options
author | Marcus Boerger <helly@php.net> | 2005-11-26 12:25:58 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-11-26 12:25:58 +0000 |
commit | 42e741e4f92ec6f005a650aedf63d6d126b1d0c8 (patch) | |
tree | 125d2fbfdc5993888e86a4dc625f5235e93f6d3b /CODING_STANDARDS | |
parent | 173cbe620f2a505cf160ef698abe857bca81b9fa (diff) | |
download | php-git-42e741e4f92ec6f005a650aedf63d6d126b1d0c8.tar.gz |
- Synch with what we decided for 5 and what we are practicing since 5
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r-- | CODING_STANDARDS | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS index ff26a8985a..4b06f32e22 100644 --- a/CODING_STANDARDS +++ b/CODING_STANDARDS @@ -148,21 +148,21 @@ Naming Conventions 'buildsomewidget' 'getI()' -[7] Classes should be given descriptive names. Avoid using abbreviations - where possible. Each word in the class name should start with a capital - letter, with words underscore delimited. The class name should be prefixed - with the name of the 'parent set'. +[7] Classes should be given descriptive names. Avoid using abbreviations where + possible. Each word in the class name should start with a capital letter, + without underscore delimiters (CampelCaps starting with a capital letter). + The class name should be prefixed with the name of the 'parent set' (e.g. + the name of the extension). Good: 'Curl' - 'Foo_Bar' + 'FooBar' Bad: 'foobar' 'foo_bar' 'FooBar' - - + Syntax and indentation ---------------------- |