Method one, there is a performance hit when using notations.

Regards,
Andrew Scott
http://www.andyscott.id.au/


> -----Original Message-----
> From: John Allen [mailto:johnfal...@gmail.com]
> Sent: Tuesday, 16 November 2010 5:16 AM
> To: cf-talk
> Subject: cfscript based components formatting
> 
> 
> Hey CFer's
> 
> 
> This might be a silly question: how are you all formatting your cfcsript
based
> cfc's? Using annotations or defining the attributes in the method itself?
EG:
> 
> 
> // methodOne
> 
> *public* boolean *function* foo()
> 
>        displayname="I am Foo"
> 
>        description="I return a boolean value. I am for testing."
> 
>        hint="I return a boolean value."{
> 
>        *return* 1;
> 
> }
> 
> 
> 
> 
> 
> /**
> 
> *...@hint "I return an empty structure."
> 
> *...@displayname "Bar"
> 
> *...@description "I return an empty structure."
> 
> */
> 
> *public* struct *function* bar() {
> 
>        *return* *structNew*();
> 
> }
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339250
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to