"early return" meaning in English

See early return in All languages combined, or Wiktionary

Noun

Forms: early returns [plural]
Head templates: {{en-noun}} early return (plural early returns)
  1. (programming) The act of returning from a function before reaching the end of that function. Categories (topical): Programming

Inflected forms

Download JSON data for early return meaning in English (1.5kB)

{
  "forms": [
    {
      "form": "early returns",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "early return (plural early returns)",
      "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"
        }
      ],
      "examples": [
        {
          "ref": "2019, Fedor G. Pikus, Hands-On Design Patterns with C++, page 469",
          "text": "With RAII, the closing action cannot be skipped or bypassed, even if the function exits the scope prematurely with an early return or by throwing an exception.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "The act of returning from a function before reaching the end of that function."
      ],
      "id": "en-early_return-en-noun-s0N8buFe",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "return",
          "return"
        ],
        [
          "function",
          "function"
        ]
      ],
      "raw_glosses": [
        "(programming) The act of returning from a function before reaching the end of that function."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "early return"
}
{
  "forms": [
    {
      "form": "early returns",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "early return (plural early returns)",
      "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",
        "English terms with quotations",
        "Quotation templates to be cleaned",
        "en:Programming"
      ],
      "examples": [
        {
          "ref": "2019, Fedor G. Pikus, Hands-On Design Patterns with C++, page 469",
          "text": "With RAII, the closing action cannot be skipped or bypassed, even if the function exits the scope prematurely with an early return or by throwing an exception.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "The act of returning from a function before reaching the end of that function."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "return",
          "return"
        ],
        [
          "function",
          "function"
        ]
      ],
      "raw_glosses": [
        "(programming) The act of returning from a function before reaching the end of that function."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "early return"
}

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.