summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-12-03 09:12:38 +0000
committerDerick Rethans <derick@php.net>2003-12-03 09:12:38 +0000
commit61e8ab4e8d11f872f0e15e027341809f82f2feb6 (patch)
tree7d8438583fb2520ba5baad23bf3f33bcb2a3aba2 /CODING_STANDARDS
parent1dd6e3ab611ce89764f2bab9c78bfc78ded608ed (diff)
downloadphp-git-61e8ab4e8d11f872f0e15e027341809f82f2feb6.tar.gz
- I am sure I reverted this before
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r--CODING_STANDARDS17
1 files changed, 1 insertions, 16 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index bf9854b7cd..9feb43b851 100644
--- a/CODING_STANDARDS
+++ b/CODING_STANDARDS
@@ -133,22 +133,7 @@ Naming Conventions
[5] Variable names should be in lowercase. Use underscores to separate
between words.
-[6] Method names follow the 'studlyCaps' (also referred to as 'bumpy case'
- or 'camel caps') naming convention, with care taken to minimize the
- letter count. The initial letter of the name is lowercase, and each
- letter that starts a new 'word' is capitalized.
-
- Good:
- 'connect()'
- 'getData()'
- 'buildSomeWidget()'
-
- Bad:
- 'get_Data()'
- 'buildsomewidget'
- 'getI()'
-
-[7] Classes should be given descriptive names. Avoid using abbreviations
+[6] 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'.