I prefer
if (something something)
{
// do something
}
rather than
if (something something)
{
// do something
}
otherwise you end up with a somewhat unruly document?
Phil
On 5/12/2008, at 11:37 AM, [EMAIL PROTECTED] wrote:
>
> I use the indent style.
>
> It is a lot easier to understand for me, because I think I am
> claustrophobic because I hate things being bunched together.
>
> I was about to kill Flash until I worked out how to get it to stop
> sending
> my braces back to no indentation. Mostly do PHP so Flash didn't really
> matter so much.
>
>>
>> One of those open-source bunches. Named after some kind of animal I
>> hear.
>>
>> http://en.wikipedia.org/wiki/Indent_style#GNU_style
>>
>> http://www.gnu.org/prep/standards/
>>
>> Bob M Brown wrote:
>>> What's up with your indenting style?
>>> I've seen this before elsewhere - who/what teaches it?
>>>
>>> rusdvl wrote:
>>>
>>>> if(something something)
>>>> {
>>>> header('Location: index.php');
>>>> }
>>>>
>>>>
>>
>>
>>>
>>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---