diff options
author | Marcus Boerger <helly@php.net> | 2005-11-27 11:06:07 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-11-27 11:06:07 +0000 |
commit | 9aebeaaf09950d650c0c26408d0072f666b344fc (patch) | |
tree | e4198735ecfab1ecc8257a88bd16e939e13fecb9 /CODING_STANDARDS | |
parent | b3a48855ab13bbec5cb679823c6b06fcce1ec396 (diff) | |
download | php-git-9aebeaaf09950d650c0c26408d0072f666b344fc.tar.gz |
- MFH Synch with what we decided for 5 and what we are practicing since 5
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r-- | CODING_STANDARDS | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS index ff26a8985a..3a266ba4a1 100644 --- a/CODING_STANDARDS +++ b/CODING_STANDARDS @@ -148,20 +148,19 @@ 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 ---------------------- |