Doc #10028 [Opn->Fbk]: Misleading/Incorrect Description of indentation style
| From: | mj@php.net | Date: | Fri, 23 Feb 2007 21:26:55 +0000 |
| Subject: | Doc #10028 [Opn->Fbk]: Misleading/Incorrect Description of indentation style | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-9464@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=10028&edit=1
ID: 10028
Updated by: mj@php.net
Reported By: mdirks at gulfstreamcoach dot com
-Status: Open
+Status: Feedback
Type: Documentation Problem
Package: Documentation
Operating System: [irrelevant]
PHP Version: Irrelevant
New Comment:
So you basically both K&R and BSD/Allman both fit well for your
function definition style, no? I see no reason to change anything
then.
Previous Comments:
------------------------------------------------------------------------
[2007-02-06 12:29:24] mdirks at gulfstreamcoach dot com
more updates...
------------------------------------------------------------------------
[2007-02-06 12:27:06] mdirks at gulfstreamcoach dot com
updates...
------------------------------------------------------------------------
[2007-02-05 11:30:45] mdirks at gulfstreamcoach dot com
Description:
------------
You describe your indentation style as "BSD/Allman" on the function
definition page. In all actuality, placing the opening curly bracket on
the proceeding line for functions and classes is used in most of the
common indentation styles (K&R, BSD/Allman, BSD/KNF, etc.). Your
indentation style would probably be more properly described as K&R
(Kernighan and Ritchie) style.
Test script:
---------------
N/A
Expected result:
----------------
N/A
Actual result:
--------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=10028&edit=1