I prefer the second line for easy 'adjusting' as well.

If I end up adding a conditional, it is easier to have them all on 1 line to
begin with.

William

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
-----Original Message-----
From: ColdFusion [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 06, 2007 6:54 AM
To: CF-Talk
Subject: CF Code readability (Where Clause)

How many use the query coding (where clause) as:
 
where
            x = 1 and
            Deleted = 0
 
 
OR 
 
 
where 
        x = 1
        and Deleted = 0
 
 
 
I prefer the second one as if I need to remove or simply comment the line
out for testing, I only do the one line rather than having the comment tags
skew over multiple lines?
 
Thanks for your input.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290461
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to