| Indentation |
Shopping Indentation |
Information AboutIndentation |
| CATEGORIES ABOUT INDENTATION | |
| computer programming | |
| typography | |
|
An indentation can mean two things:
The first meaning is also applied in Hardness measurement as in Indentation Hardness . For an example of the second meaning, this is an indentation of one space: Indented block and this is an indentation of two spaces: Indented block 2 In the written form of many Language s, an indentation is often used at the beginning of a line to signal the start of a new paragraph. Outdentation is a neologism used in computer circles to describe placing text back to the left again. Some languages (e.g. Hebrew , Arabic ) are written right-to-left, and if indentation is used, in the above "left" and "right" should of course be swapped when referring to such languages. INDENTATION IN TYPESETTING There are two main types of first-line indent: normal and hanging. A "normal" indent indents the first line, as shown here, an indent of one centimetre: The other kind, a hanging indent, indents the rest of the text while leaving the first line in place; as shown here with a hanging indent of one centimetre: INDENTATION IN PROGRAMMING Main article: Indent Style In computer Programming Language s, indentation is used to format program Source Code in order to improve its readability. Indentation is generally only of use to programmers; Compiler s and Interpreters rarely care how much Whitespace is present in between programming statements. However, certain programming languages rely on the use of indentation in order to demarcate programming structure, often using a variation of the Off-side Rule . The Haskell , Occam , and Python Programming Languages rely on indentation in this way. Debates over where to indent, whether to use spaces or Tab s, and how many spaces to use are often hotly debated among programmers, leading some to classify indentation as a Religious War . Different Indentation Styles are commonly used. Recently, a third method of indentation was proposed, called Elastic Tabstop s. |
|
|