One thing to consider is that there may be certain cases where you can't use
the a & b method.

Either way is perfectly acceptable.

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Brian Dumbledore [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 9:32 AM
To: CF-Talk
Subject: making strings.. good practice??


I know the subject line is a bit foggy, but I was going through some code
(not mine) a while back and found the coder doing...
<cfset a="#b# blah blah #c#">
I am not old enough with CF and I found this kind of usage peculiar as
against "&" ing the variables and string literals all the time.
Though the above way looks easier and cleaner, I somehow feel it is a bad
practice.

What do you all have to say regarding this???
Thanks for your time..



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247496
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to