Answers inline.

> 1. Is indenting code mandatory?

Yes

> 2. When indenting, do you use tabs as tabs or tabs as spaces?

spaces as Tabs

> 3. How many spaces do you indent or does a tab represent?

5 spaces

> 4. Is it better to make code in includes and functions 
> even if the code isn't going to be reused?

We FuseBox most of our CF sites. So we use a lot of includes. I'd rather use
includes and functions, that way you can isolate the code fairly quickly.
Moreover it allows for a greater flexibility and ease in upgrading an app.
For instance one of our major clients want a fairly large interface change.
This would be far more difficult to do if the interface elements had to be
duplicated on every page. By making them an include, its much easier to make
large changes.

larry

--
Larry C. Lyons
ColdFusion/Web Developer
Certified Advanced ColdFusion 5 Developer
EBStor.com
8870 Rixlew Lane, Suite 204
Manassas, Virginia 20109-3795
tel:   (703) 393-7930
fax:   (703) 393-2659
Web:   http://www.ebstor.com
       http://www.pacel.com
email: [EMAIL PROTECTED]
Chaos, panic, and disorder - my work here is done.
--
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to