dangling else

noun

dangling else

noun
1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences A potential ambiguity in a programming language that occurs when an else clause can be associated with either a nested conditional or with the clause that encloses the nested conditional.

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.