[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/doc coding_standard.txt,1.4,1.5
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/doc coding_standard.txt,1.4,1.5 |
Date: |
Sat, 11 May 2002 18:10:51 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/doc
In directory subversions:/tmp/cvs-serv31251
Modified Files:
coding_standard.txt
Log Message:
clarify one formatting point
Index: coding_standard.txt
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/doc/coding_standard.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** coding_standard.txt 22 May 2001 22:27:41 -0000 1.4
--- coding_standard.txt 11 May 2002 22:10:48 -0000 1.5
***************
*** 3,6 ****
--- 3,7 ----
2) Use tabs for formatting, NOT SPACES. Tabs create smaller files and
editors allow
developers to view a tab as however many spaces as they prefer. Spaces
do not allow this.
+ There is one exception (see #11 below).
3) Use ' instead of " for strings. This is a performance issue, and prevents
***************
*** 77,81 ****
);
! Note that spaces are permitted between the => 's
12) Use the long format for <?php. Do NOT use <?.
--- 78,82 ----
);
! Note that spaces are preferred around the '=>'.
12) Use the long format for <?php. Do NOT use <?.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/doc coding_standard.txt,1.4,1.5,
Miles Lott <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.3,1.4 class.sbox2.inc.php,1.2,NONE
- Next by Date:
[Phpgroupware-cvs] CVS: ftp/inc functions.inc.php,1.14,1.15
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.3,1.4 class.sbox2.inc.php,1.2,NONE
- Next by thread:
[Phpgroupware-cvs] CVS: ftp/inc functions.inc.php,1.14,1.15
- Index(es):