Re: PHP Standard style of writing your code
| From: | Robert Cummings | Date: | Sat, 29 Apr 2006 14:07:53 +0000 |
| Subject: | Re: PHP Standard style of writing your code | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235092@lists.php.net to get a copy of this message | ||
On Sat, 2006-04-29 at 03:17, Richard Lynch wrote:
>
> I'll also respond to another poster:
>
> I personally have no less/more ease in aligning } with a logic
> statement or with another {, *IF* the code is indented properly.
>
> In other words, the vertical alignment is more a function of the
> indentation, to me, then of a specific character I have to pick out.
>
> If the code isn't indented properly, well, then, the alignment of
> whatever you do vertically doesn't matter much, eh?
Tis true, I think mostly I just prefer the visual appeal of v-aligned
braces, as you prefer visually the other. I used your style for about 7
years before I switched, and now for whatever internal appraisal reasons
I just find the inline style messy looking :) Although, I'll take it any
day over some of the other styles I've seen.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'