helly Sat Nov 26 07:25:59 2005 EDT
Modified files:
/php-src CODING_STANDARDS
Log:
- Synch with what we decided for 5 and what we are practicing since 5
http://cvs.php.net/diff.php/php-src/CODING_STANDARDS?r1=1.32&r2=1.33&ty=u
Index: php-src/CODING_STANDARDS
diff -u php-src/CODING_STANDARDS:1.32 php-src/CODING_STANDARDS:1.33
--- php-src/CODING_STANDARDS:1.32 Fri Jan 30 05:15:24 2004
+++ php-src/CODING_STANDARDS Sat Nov 26 07:25:58 2005
@@ -148,21 +148,21 @@
'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
----------------------
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php