[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-doc
Subject: [PEAR-DOC] [PEAR-BUG] Doc #10028 [Opn->Fbk]: Misleading/Incorrect Description of indentation style
From: mj () php ! net
Date: 2007-02-23 21:26:55
Message-ID: 20070223212655.32390.qmail () pb12 ! pair ! com
[Download RAW message or body]
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
--
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic