go-v.orgcodex
Menu
Page tools

codex · Philosophy

Stropping (syntax)

In computer language design, stropping is a method of explicitly marking letter sequences as having a special property, such as being a keyword, or a certain type of variable or storage location, and thus inhabiting a different namespace from ordinary names ("identifiers"), in order to avoid clashes. Stropping is not used in most modern languages—instead, keywords are reserved words and cannot be used as identifiers. Stropping allows the same letter sequence to be used both as a keyword and as an identifier, and simplifies parsing in that case—for example, allowing a variable named if without clashing with the keyword if.

Stropping is primarily associated with ALGOL and related languages in the 1960s. Though it finds some modern use, it is easily confused with other similar techniques that are superficially similar.

Wikipedia contributors, "Stropping (syntax)", Wikipedia, revision 1377482722, retrieved 20 November 2026, source, CC BY-SA 4.0.

More Philosophy · Search the codex