Other Definitions
indentation (dict)

Indentation

An indentation can mean two things:
  • To make notches in something or form deep recesses in a coastline for instance.
  • To place text farther to the right to separate it from surrounding text.
For example, 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 American and European languages, an indentation is used at the beginning of a line to signal the start of a new paragraph.

Indentation in programming

In computer programming languages, indentation is used to format source code in order to improve its readability. Indentation is generally only of use to programmers; compilers and interpreters rarely care how much whitespace is present inbetween programming statements. However, certain programming languages rely on the use of indentation in order to demarcate programming structure. The Haskell, Occam, and Python programming languages rely on indentation in this way. Debates over where to indent, whether to use spaces or tabs, 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.

See also

External link

*An example style guide with indentation tips for Python

 

<< PreviousWord BrowserNext >>
emwin
pandiatonic
free radical theory
gary owens
flower car
salzkammergut
revisionist zionism
overburden
life process model of addiction
spotted dove
.ca
word clock
.tk
.uk
hocket
espada acequia
clinical neuropsychology
brenda milner
european american
state universal store
don cornelius
laughing dove
edward biddle
media filter
off side rule
treaty of tartu
list of solo piano pieces (contemporary)
norwood park, chicago
hazhir teimourian
play on words
joseph strick
list of solo piano pieces by composer: y
list of solo piano pieces (impressionistic)
ram navami
list of impressionistic pieces
list of pieces by composer: d
list of minimalistic pieces
list of pieces by composer: g
portland rosebuds
victoria college, alexandria
list of indonesian language television channels
disease model of addiction
totley tunnel
charles churchill