next up previous contents
Next: Be Strict: Variable Management Up: Style Guidlines Previous: MIC versus HTML   Contents

Indentation

Proper indentation of a MIC page is one of the harder things to do. The main reason for this is that while HTML can be indented on conceptual groups, such as a table, rows, blockquotes, etc., and Perl and programming languages can be indented on logic blocks and lexical groups, how one properly indents a mixture of the two is a hard question.

In general, one must be more conservative about what is indented so that there is still room to indent when one wants to indent. Logical indentation should be favored over layout indentation, though large conceptual groups in the layout scheme should be indented for clarity, and these will often closely correspond to a logical block in any case.

A good MIC mode for emacs and/or other editors would be helpful as font coloring would add another dimension to the indentation scheme and make groupings clearer. For the time being, practice and common sense are the best guides.