Why Code Says 'Else': The German Roots of Modern Conditional Syntax
Ever wondered why programmers write 'else' instead of 'otherwise'? Linguistic history traces the ubiquitous keyword back to German mathematicians on the ALGOL committee.
Every developer writes it dozens of times a day without a second thought: if... then... else. The construct is arguably the most recognizable branching idiom in computing, embedded deep within languages from C and Python to Rust and JavaScript. Yet from a purely grammatical perspective, English speakers phrasing an alternative condition rarely utter "if it rains, take an umbrella; else, leave it at home." Instead, standard spoken English favors words like "otherwise" or "or."
As computer science researcher Elena Finder uncovered in a celebrated historical investigation presented at !!Con West, our universal reliance on the word else is likely the artifact of a direct, literal translation from German during the fraught transatlantic committee meetings that birthed modern computer science in the late 1950s.
Before the arrival of ALGOL 58, programmatic control flow was a chaotic landscape of assembly jumps, numeric switches, and clumsy macro commands. Early English-first efforts attempted to preserve conversational prose; Grace Hopper’s influential FLOW-MATIC compiler, for instance, specifically used the statement OTHERWISE to handle alternate execution paths. When mathematicians and computer pioneers gathered in Zurich in 1958 to hammer out an international algorithmic language, the American delegation—led by Fortran creator John Backus—met with an equally formidable European contingent, which included Swiss mathematician Heinz Rutishauser and German researchers Friedrich L. Bauer and Klaus Samelson.
Rutishauser had already been experimenting with formal language design as early as 1951 with his hypothetical "Superplan," mapping out logical operators mathematically. When drafting the syntax for algorithmic selection, German grammatical patterns took center stage. In standard German logic, the conditional split naturally maps to "wenn... dann... sonst...". While German technical vocabulary contains terms like anderenfalls ("in another case" or "otherwise"), the punchy, mono-syllabic connective sonst corresponds closely in everyday translation dictionaries to the English "else."
When the Zurich group sought a concise counterpart to represent branching paths, the Europeans pushed for an economic vocabulary. Rather than adopting the multi-syllabic and verbose OTHERWISE used in earlier American business compilers, the committee adopted the shorter literal equivalent. When ALGOL 60 formalized the syntax, the construct was permanently canonized as if-then-else, codifying the European draft into stone.
The downstream effect was profound. Because ALGOL 60 became the academic gold standard for compiler theory and algorithm publication, almost every subsequent procedural language—most notably CPL, BCPL, B, and eventually C—inherited its lexical conventions directly. From C, the keyword migrated unquestioned into C++, Java, PHP, and modern systems languages, cementing a German structural translation across trillions of lines of production code.
Software engineering often presents itself as an objective, strictly mathematical discipline. Yet the lexical DNA of today’s software stack serves as a fascinating reminder that foundational programming constructs were negotiated by multilingual human beings working across cultural boundaries. The next time your compiler throws a syntax error on an unclosed else block, you are not merely fighting a parser—you are interacting with the linguistic fingerprints of post-war European mathematics.
Want real-time AI & tech intelligence dispatches?
Join the official TrendingTech Daily Telegram channel for breaking research, model launches, and market analysis.