On Monday, Mar 24, 2003, at 10:01 US/Pacific, Mike Brunt wrote:
> With regard to coding bad practice I have no
> doubts that multiple layers of nested includes-custom tags are bad 
> practice
> as they make code very hard to read and follow.

Hmm, it isn't the multiple layers that make code hard to read per se so 
it must something else.

It is generally accepted best practice in software engineering to break 
code down into smaller, reusable chunks. In CF, that has historically 
translated into includes and custom tags (and now it's UDFs, custom 
tags and CFCs). If this is done properly, it should be very readable 
and easy to maintain. That means using good, clear naming and an 
'obvious' decomposition into smaller parts. If you choose a bad 
decomposition then of course you get unreadable code!

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to