Re: Using ## vs not using ##

2010-09-02 Thread Rick Root
On Wed, Sep 1, 2010 at 12:31 PM, Dave Watts dwa...@figleaf.com wrote: cfset errors[#varName#][string] = errors[#varName#][string] bit to add here./ There will not be a significant speed increase, so don't worry about changing existing code unless you have time on your hands and it really

Re: Using ## vs not using ##

2010-09-02 Thread Michael Grant
CFSET ERRORS[VARNAME]['STRING'] = EVALUATE(ERRORS[#VARNAME#][STRING]) bit to add here. /me vomits ~| Order the Adobe Coldfusion Anthology now!

Re: Using ## vs not using ##

2010-09-02 Thread Rick Root
evaluate() is almost always offensive :) On Thu, Sep 2, 2010 at 8:58 AM, Michael Grant mgr...@modus.bz wrote: CFSET ERRORS[VARNAME]['STRING'] = EVALUATE(ERRORS[#VARNAME#][STRING]) bit to add here. /me vomits ~|

Re: Using ## vs not using ##

2010-09-02 Thread Dave Watts
It offends me, so I say he should do it. =) Are you paying him? If so, he should definitely do it! I used to have the same opinion as you - I couldn't stand working with other people's code if it didn't meet my own standards. Now that I'm older, I think life's too short for that. Working code

Re: Using ## vs not using ##

2010-09-02 Thread Peter Boughton
just a quick test, please ignore (sorry for the noise) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

Re: Using ## vs not using ##

2010-09-02 Thread Michael Grant
Note to all participants: This thread is not to be used for testing purposes. Thank you, Management On Thu, Sep 2, 2010 at 11:00 AM, Peter Boughton bought...@gmail.com wrote: just a quick test, please ignore (sorry for the noise)

Using ## vs not using ##

2010-09-01 Thread Michael Grant
Ok, i have another one. (In CF7) Here's an example of code I'm running into: cfset errors[#varName#][string] = errors[#varName#][string] bit to add here./ I would normally write this as: cfset errors[varName][string] = errors[varName][string] bit to add here./ Other than the fact it's

Re: Using ## vs not using ##

2010-09-01 Thread Dave Watts
Ok, i have another one. (In CF7) Here's an example of code I'm running into: cfset errors[#varName#][string] = errors[#varName#][string] bit to add here./ I would normally write this as: cfset errors[varName][string] = errors[varName][string] bit to add here./ Other than the fact

Re: Using ## vs not using ##

2010-09-01 Thread Michael Grant
It makes me want to barf. However I don't really have the time for it. On Wed, Sep 1, 2010 at 12:31 PM, Dave Watts dwa...@figleaf.com wrote: Ok, i have another one. (In CF7) Here's an example of code I'm running into: cfset errors[#varName#][string] = errors[#varName#][string] bit

Re: Using ## vs not using ##

2010-09-01 Thread Eric Cobb
According to Adobe, yes. http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_04.html Although, I'm sure it's probably negligible. All they really say is that the extra pound signs will negatively affect performance. Thanks, Eric Cobb ECAR Technologies, LLC

Re: Using ## vs not using ##

2010-09-01 Thread Michael Grant
Thanks Eric. On Wed, Sep 1, 2010 at 12:45 PM, Eric Cobb cft...@ecartech.com wrote: According to Adobe, yes. http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_04.html Although, I'm sure it's probably negligible. All they really say is that the extra pound signs will

Re: Using #### vs not using ####

2010-09-01 Thread Peter Boughton
It'll have a (very very minor) impact on the first load. I'd be surprised (and dissappointed) if it wasn't optimised away after that. However, don't forget Human performance impact - if it takes an extra 0.5 seconds to decipher whether it just says varName versus #varName#i (or similar), then

Re: Using ######## vs not using ########

2010-09-01 Thread Peter Boughton
Hmmm, I'm guessing the web interface to cf-talk is doing double escaping or something bad. ~| Order the Adobe Coldfusion Anthology now!

RE: Using ######## vs not using ########

2010-09-01 Thread Rick Faircloth
I'm not so sure... I understand that subject completely! ;o) -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Wednesday, September 01, 2010 12:44 PM To: cf-talk Subject: Re: Using vs not using Hmmm, I'm guessing the web interface to cf-talk

Re: Using ######## vs not using ########

2010-09-01 Thread Michael Grant
] Sent: Wednesday, September 01, 2010 12:44 PM To: cf-talk Subject: Re: Using vs not using Hmmm, I'm guessing the web interface to cf-talk is doing double escaping or something bad. ~| Order the Adobe