Re: cfscript based components formatting

2010-11-17 Thread denstar
On Mon, Nov 15, 2010 at 7:18 PM, Sean Corfield wrote: ... (it doesn't affect my position that comments should never change the semantics of code - although, as noted by Ray, the example given only affects metadata so it would only affect the semantics of a program that tested that metadata...

Re: cfscript based components formatting

2010-11-16 Thread Raymond Camden
Sorry - what? On Mon, Nov 15, 2010 at 10:33 PM, Andrew Scott andr...@andyscott.id.au wrote: No annotations in the comments was mentioned to be slower than using the other way. Regards, Andrew Scott http://www.andyscott.id.au/

cfscript based components formatting

2010-11-15 Thread John Allen
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

Re: cfscript based components formatting

2010-11-15 Thread Judah McAuley
I go with the first route as Sean Corfield has made what I consider to be a very excellent point, which is that comments should never have effect on the executing code. Comments are for documentation only. Judah On Mon, Nov 15, 2010 at 10:15 AM, John Allen johnfal...@gmail.com wrote: Hey

Re: cfscript based components formatting

2010-11-15 Thread Matt Quackenbush
No comments driving behavior! :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: cfscript based components formatting

2010-11-15 Thread Charlie Griefer
/* This is me agreeing */ I agree! On Mon, Nov 15, 2010 at 3:35 PM, Matt Quackenbush quackfu...@gmail.comwrote: No comments driving behavior! :-) ~| Order the Adobe Coldfusion Anthology now!

Re: cfscript based components formatting

2010-11-15 Thread Raymond Camden
I agree too - although in this case the comments just impact metadata. displayname/description/hint are only used in auto-display. On Mon, Nov 15, 2010 at 4:42 PM, Charlie Griefer charlie.grie...@gmail.com wrote: /* This is me agreeing */ I agree! On Mon, Nov 15, 2010 at 3:35 PM, Matt

RE: cfscript based components formatting

2010-11-15 Thread Andrew Scott
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

Re: cfscript based components formatting

2010-11-15 Thread 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

Re: cfscript based components formatting

2010-11-15 Thread Sean Corfield
On Mon, Nov 15, 2010 at 2:58 PM, Andrew Scott andr...@andyscott.id.au wrote: Method one, there is a performance hit when using notations. Is there? Why so? (it doesn't affect my position that comments should never change the semantics of code - although, as noted by Ray, the example given only

RE: cfscript based components formatting

2010-11-15 Thread Andrew Scott
, 16 November 2010 1:18 PM To: cf-talk Subject: Re: cfscript based components formatting On Mon, Nov 15, 2010 at 2:58 PM, Andrew Scott andr...@andyscott.id.au wrote: Method one, there is a performance hit when using notations. Is there? Why so? (it doesn't affect my position

Re: cfscript based components formatting

2010-11-15 Thread Raymond Camden
- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Tuesday, 16 November 2010 1:18 PM To: cf-talk Subject: Re: cfscript based components formatting On Mon, Nov 15, 2010 at 2:58 PM, Andrew Scott andr...@andyscott.id.au wrote: Method one, there is a performance hit when using notations

RE: cfscript based components formatting

2010-11-15 Thread Andrew Scott
No annotations in the comments was mentioned to be slower than using the other way. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, 16 November 2010 2:56 PM To: cf-talk Subject: Re: cfscript based