ditto on all points. -Dave
>>> [EMAIL PROTECTED] 07/28/05 6:08 PM >>> I write code that way because it is required when writing XML and valid XHTML. It's simpler for my poor old brain to remember to always do it that way than to do it one way in most tag based languages and another in ColdFusion. It also makes code more readable for me because it is a more declarative style. If I see this: <cfhttp url="blah"> There may or may not be a </cfhttp> somewhere further down the page, whereas if I see this: <cfhttp url="blah" /> I know there isn't one. Spike Adrocknaphobia wrote: > This is pretty way off-topic but I was hoping to get a census on this. > I'm constantly reviewing code samples and resumes for a number of > firms and I've started to notice with more frequency that some CFers > are writing CF as if it was XML. I'm not really sure why. > > I'm not seeing any benefit in this, and quite frankly it just looks > wrong. So I was wondering if anyone could point out why anyone would > write cfml in the following manner: > > <cfset temp = "this is my variable" /> > > <cfreturn true /> > > Am I missing something here? > > -Adam > > > ---------------------------------------------------------- > 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). > > CFCDev is supported by New Atlanta, makers of BlueDragon > http://www.newatlanta.com/products/bluedragon/index.cfm > > An archive of the CFCDev list is available at www.mail-archive.com/[email protected] > > > -- -------------------------------------------- Stephen Milligan Code poet for hire http://www.spike.org.uk Do you cfeclipse? http://cfeclipse.tigris.org ---------------------------------------------------------- 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). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm 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). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
