Indentationdriven
Indentationdriven is a descriptive term used to characterize a style or paradigm in software design and documentation where indentation plays a central role in conveying structure, scope, or hierarchy. In an indentationdriven system, blocks and substructures are identified primarily by their indentation level rather than by explicit delimiters such as braces, end keywords, or closing tags. The approach is most closely associated with languages and formats that rely on significant whitespace, and it is often discussed in the context of readability, simplicity, and maintainability.
Origins and usage. Indentationdriven concepts emerged from and are exemplified by programming languages like Python and
Mechanics and examples. In practice, indentationdriven syntax treats indentation as semantically meaningful. For example, a small
Advantages and criticisms. Proponents cite improved readability, conciseness, and a reduced visual clutter from delimiter tokens.
See also. Related concepts include significant whitespace languages, Python, YAML, and layout rules in programming languages.