"dangling else" meaning in English

See dangling else in All languages combined, or Wiktionary

Noun

Forms: dangling elses [plural]
Head templates: {{en-noun}} dangling else (plural dangling elses)
  1. (programming) 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. Categories (topical): Programming
    Sense id: en-dangling_else-en-noun-aMM~dHQH Categories (other): English entries with incorrect language header Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, programming, sciences

Inflected forms

Download JSON data for dangling else meaning in English (1.5kB)

{
  "forms": [
    {
      "form": "dangling elses",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "dangling else (plural dangling elses)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "glosses": [
        "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."
      ],
      "id": "en-dangling_else-en-noun-aMM~dHQH",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "ambiguity",
          "ambiguity"
        ],
        [
          "programming language",
          "programming language"
        ],
        [
          "else",
          "else"
        ],
        [
          "nested",
          "nested"
        ],
        [
          "conditional",
          "conditional"
        ]
      ],
      "raw_glosses": [
        "(programming) 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."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "dangling else"
}
{
  "forms": [
    {
      "form": "dangling elses",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "dangling else (plural dangling elses)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "en:Programming"
      ],
      "glosses": [
        "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."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "ambiguity",
          "ambiguity"
        ],
        [
          "programming language",
          "programming language"
        ],
        [
          "else",
          "else"
        ],
        [
          "nested",
          "nested"
        ],
        [
          "conditional",
          "conditional"
        ]
      ],
      "raw_glosses": [
        "(programming) 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."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "dangling else"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-01 from the enwiktionary dump dated 2024-04-21 using wiktextract (f4fd8c9 and c9440ce). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.