Good analogy! Although I think you might find boxing is still a valid sport as well... ;)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phillip Senn Sent: 19 May 2006 15:36 To: [email protected] Subject: RE: [CFCDev] CFINVOKE vs. Evaluate But now boxing has evolved into Ultimate Fighter Challenge, where contestants are in an Octagon and sometimes use the fence as part of their strategy. The people who learned ColdFusion earlier are like those fighters who think they can pound it out and aren't schooled on submission techniques. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Bryant Sent: Thursday, May 18, 2006 2:48 PM To: [email protected] Subject: Re: [CFCDev] CFINVOKE vs. Evaluate Brian, I agree with your point about losing detail when painting with a large brush. At the same time, I would wager that is why he said "in virtually all cases". In boxing it is considered a bad idea to let yourself get backed into the ropes. Ali did so with great success against Foreman, but it is still a bad idea in general. So it is, I think, with evaluate(). It is usually not a good idea. Certainly there will be cases where it is a good idea. The performance issue, however, isn't a major one. You can usually get more impact on perceived performance with image compression than any single syntax adjustment. Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ At 01:28 PM 5/18/2006, Brian Rinaldi wrote: >I think you are painting with a pretty broad brush here. I think the >point is that it is preferable to avoid, but actually has its limited >uses. I also think that saying that "it demonstrates a lack of >understanding of the features of the language " is mistaken as well. >The use of evaluate alone does not, in fact, demonstrate this...and by >coloring everything black and white you lose alot of detail. I cannot >think of a programming rule to which there doesn't exist exceptions, >and the reasoning that has been offered thus far does not lead to such >grandiose assertions. I am, by the way, saying this as someone who has >managed to avoid evaluate ;) > >- Brian Rinaldi >blog: http://www.remotesynthesis.com/blog >ColdFusion Open Source List: http://www.remotesynthesis.com/cfopensourcelist >Boston CFUG - http://www.bostoncfug.org > > >---------- >From: "Brian Kotek" <[EMAIL PROTECTED]> >Sent: Thursday, May 18, 2006 2:19 PM >To: [email protected] >Subject: Re: [CFCDev] CFINVOKE vs. Evaluate > >The point is that in virtually all cases: > >1. evaluate() is slower >2. there is no reason to use it >3. it is more difficult to read and understand 4. it demonstrates a >lack of understanding of the features of the language ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
