Indentation style
Computer programming convention / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Indent style?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
For a general discussion of indentation, see Indentation (typesetting).
In computer programming, indentation style is a convention, a.k.a. style, governing the indentation of blocks of source code that is generally intended to convey structure.
Generally, an indentation style uses the same width of whitespace (indentation size) before each line of a group of code so that they appear to be related.
As whitespace consists of both space and tab characters, a programmer can choose which to use ā often entering them via the space key or tab key on the keyboard.
Some research has been conducted on the value of code indentation.