]> granicus.if.org Git - php/commitdiff
- Synch with what we decided for 5 and what we are practicing since 5
authorMarcus Boerger <helly@php.net>
Sat, 26 Nov 2005 12:25:58 +0000 (12:25 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 26 Nov 2005 12:25:58 +0000 (12:25 +0000)
CODING_STANDARDS

index ff26a8985a50f56143396bb6c9886c99af6c832f..4b06f32e22389ec40e1d6c5e573132163a6f1afe 100644 (file)
@@ -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
 ----------------------