Re: Basics Clarification

2004-09-15 Thread S . Isaac Dealey
> Now if only there were an alternate syntax for the > CFIF..CFELSEIF..CFELSE tags that was XML compliant... > Totally > optional, but available to use if you need XML compliant > CFML for some > reason. > Of course, that's remarkably off-topic, but the hope that > that might > sometime exist is a

RE: Basics Clarification

2004-09-15 Thread Dave Watts
> Tag attributes should be quoted in three situations: > > 1) always > 2) always > 3) always > > Imo even suggesting that it's possible to leave an attribute unquoted > is reprehensible. Really? I suspect you use unquoted attributes all the time, at least with one tag. I know I do. For example, ra

Re: Basics Clarification

2004-09-15 Thread Barney Boisvert
Now if only there were an alternate syntax for the CFIF..CFELSEIF..CFELSE tags that was XML compliant...  Totally optional, but available to use if you need XML compliant CFML for some reason. Of course, that's remarkably off-topic, but the hope that that might sometime exist is another tangible r

RE: Basics Clarification

2004-09-15 Thread S . Isaac Dealey
> It still meets my definition (I'm hashing "x" to specify > the variable within > a string).  However other might are argue that the > following is "good": > Tag attributes should be quoted in three situations: 1) always 2) always 3) always Imo even suggesting that it's possible to leave an a

Re: Basics Clarification

2004-09-15 Thread Charlie Griefer
On Wed, 15 Sep 2004 12:01:29 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > > We've all said it a million times - don't use the hashes > > inside a CF tag that > > processes on its own. > > > > > > > > But one thing I've always wondered is why.  I know doing > > this is wrong from > > year

Re: Basics Clarification

2004-09-15 Thread S . Isaac Dealey
> We've all said it a million times - don't use the hashes > inside a CF tag that > processes on its own. > > > But one thing I've always wondered is why.  I know doing > this is wrong from > years of seeing people scream at developers who do it, but > I never heard an > explanation as to what

Re: Basics Clarification

2004-09-15 Thread Andrew Dixon
Try reading this article by the mighty Ben Forta. It is titled: "To # or not to #" http://www.defusion.com/articles/index.cfm?ArticleID=26 Andrew - Original Message - From: Claude Schneegans <[EMAIL PROTECTED]> Date: Wed, 15 Sep 2004 11:24:24 -0400 Subject: Re: Basics

Re: Basics Clarification

2004-09-15 Thread Claude Schneegans
>>But one thing I've always wondered is why. IMHO it's simply logic: the purpose of # delimiter is to specify that an _expression_ inside should be evaluated when it is not implied by context. Inside a CFIF, the content cannot be something else, then # are just useless. Furthermore, I would think

RE: Basics Clarification

2004-09-15 Thread Jim Davis
idence that there isn't in MX. It's purely a stylistic issue as far as I can see, important to people, not the machine.  No different (but no less important to some) than indenting "properly", for example. Jim Davis From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: Basics Clarification

2004-09-15 Thread Stephen Moretti (cfmaster)
Dave Watts wrote: > > Originally you had to do your cfifs this way back in version 2 land. > > Well, actually, I'm pretty sure that they weren't even needed then. > However, > no one had really figured out appropriate usage for them yet. I think you're probably right.  I vaguely remember there b

RE: Basics Clarification

2004-09-15 Thread Dave Watts
> We've all said it a million times - don't use the hashes inside a CF tag > that processes on its own. > > > > > But one thing I've always wondered is why. I know doing this is wrong > from years of seeing people scream at developers who do it, but I never > heard an explanation as to what prob

RE: Basics Clarification

2004-09-15 Thread Dave Watts
> Originally you had to do your cfifs this way back in version 2 land. Well, actually, I'm pretty sure that they weren't even needed then. However, no one had really figured out appropriate usage for them yet. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202

Re: Basics Clarification

2004-09-15 Thread Stephen Moretti (cfmaster)
Steve Brownlee wrote: > We've all said it a million times - don't use the hashes inside a CF > tag that > processes on its own. > > > > > But one thing I've always wondered is why.  I know doing this is wrong > from > years of seeing people scream at developers who do it, but I never > heard

Re: Basics Clarification

2004-09-15 Thread Andrew Dixon
I have no idea why, as far as I know it don't actually cause any problem, but I think it just look bad and makes the code more difficult to read. Andrew. - Original Message - From: Steve Brownlee <[EMAIL PROTECTED]> Date: Wed, 15 Sep 2004 05:37:44 -0700 Subject: Basics Clari

Basics Clarification

2004-09-15 Thread Steve Brownlee
We've all said it a million times - don't use the hashes inside a CF tag that processes on its own. But one thing I've always wondered is why.  I know doing this is wrong from years of seeing people scream at developers who do it, but I never heard an explanation as to what problems this causes