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...
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/
Hey CFers
This might be a silly question: how are you all formatting your cfcsript
based cfcs? 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
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
No comments driving behavior! :-)
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
/* 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!
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
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
[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
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
, 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
-
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
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
13 matches
Mail list logo