"code golf" meaning in English

See code golf in All languages combined, or Wiktionary

Noun

Etymology: By analogy with the sport of golf, in which players aim to sink the ball in the hole in the fewest strokes possible. Head templates: {{en-noun|-}} code golf (uncountable)
  1. (programming) A recreational computer programming competition in which participants attempt to write the shortest possible source code to implement a given algorithm. Wikipedia link: code golf Tags: uncountable Categories (topical): Programming Related terms: regex golf
{
  "etymology_text": "By analogy with the sport of golf, in which players aim to sink the ball in the hole in the fewest strokes possible.",
  "head_templates": [
    {
      "args": {
        "1": "-"
      },
      "expansion": "code golf (uncountable)",
      "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": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "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 recreational computer programming competition in which participants attempt to write the shortest possible source code to implement a given algorithm."
      ],
      "id": "en-code_golf-en-noun-0O49u4qS",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "recreational",
          "recreational"
        ],
        [
          "computer",
          "computer"
        ],
        [
          "programming",
          "programming"
        ],
        [
          "competition",
          "competition"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "implement",
          "implement"
        ],
        [
          "algorithm",
          "algorithm"
        ]
      ],
      "raw_glosses": [
        "(programming) A recreational computer programming competition in which participants attempt to write the shortest possible source code to implement a given algorithm."
      ],
      "related": [
        {
          "word": "regex golf"
        }
      ],
      "tags": [
        "uncountable"
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "wikipedia": [
        "code golf"
      ]
    }
  ],
  "word": "code golf"
}
{
  "etymology_text": "By analogy with the sport of golf, in which players aim to sink the ball in the hole in the fewest strokes possible.",
  "head_templates": [
    {
      "args": {
        "1": "-"
      },
      "expansion": "code golf (uncountable)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "regex golf"
    }
  ],
  "senses": [
    {
      "categories": [
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "English uncountable nouns",
        "Pages with 1 entry",
        "Pages with entries",
        "en:Programming"
      ],
      "glosses": [
        "A recreational computer programming competition in which participants attempt to write the shortest possible source code to implement a given algorithm."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "recreational",
          "recreational"
        ],
        [
          "computer",
          "computer"
        ],
        [
          "programming",
          "programming"
        ],
        [
          "competition",
          "competition"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "implement",
          "implement"
        ],
        [
          "algorithm",
          "algorithm"
        ]
      ],
      "raw_glosses": [
        "(programming) A recreational computer programming competition in which participants attempt to write the shortest possible source code to implement a given algorithm."
      ],
      "tags": [
        "uncountable"
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "wikipedia": [
        "code golf"
      ]
    }
  ],
  "word": "code golf"
}

Download raw JSONL data for code golf meaning in English (1.3kB)


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2025-01-25 from the enwiktionary dump dated 2025-01-20 using wiktextract (c15a5ce and 5c11237). 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.