I like the method of lining up the attributes AND equal signs.  I
beginning to switch to this format for long tag definitions.

<cfargument name     = "sfirstName"
            type     = "string"
            required = "true"
            hint     = "first name of person">


M!ke

-----Original Message-----
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 08, 2007 10:48 AM
To: CF-Talk
Subject: Re: CF Coding Standards

> I also think the over use of new lines doesn't help with readability 
> either
>
> <cfargument name="sfirstName"
> type="string"
> required="true"
> hint="first name of person"
> />

Where as I find newline+indent really helps:
<cfargument name="sfirstName"
                type="string"
                required="true"
                hint="first name of person"/>


--
Tom Chiverton

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290570
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to