> 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
> 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
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
> 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
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
> 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
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
>>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
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,
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
> 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
> 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
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
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
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
15 matches
Mail list logo