"if-then" meaning in English

See if-then in All languages combined, or Wiktionary

Noun

Forms: if-thens [plural]
Head templates: {{en-noun}} if-then (plural if-thens)
  1. A proposition or statement about what should or does occur when a certain condition is met.
    Sense id: en-if-then-en-noun-dMCVm5SB
  2. (programming) A conditional statement; a line of code that specifies a boolean condition to check and a statement to execute when that boolean evaluates to true. Categories (topical): Programming
    Sense id: en-if-then-en-noun-NNDZYN~V Categories (other): English entries with incorrect language header Disambiguation of English entries with incorrect language header: 42 58 Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, programming, sciences
The following are not (yet) sense-disambiguated
Synonyms: if/then, if–then

Inflected forms

Alternative forms

Download JSON data for if-then meaning in English (6.5kB)

{
  "forms": [
    {
      "form": "if-thens",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "if-then (plural if-thens)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [],
      "examples": [
        {
          "ref": "2007, Nicholas Rescher, Conditionals, MIT Press, page 13",
          "text": "Disposition statements are always tantamount to conditional if-thens. (“Glass is fragile” amounts to “If glass is subjected to a shock, it will break”; “Wood is combustible” comes to “If wood is exposed to fire, it will burn”; and so on.)",
          "type": "quotation"
        },
        {
          "ref": "2015, Gretchen Rubin, Better Than Before: What I Learned About Making and Breaking Habits—to Sleep More, Quit Sugar, Procrastinate Less, and Generally Build a Happier Life, Broadway Books",
          "text": "Over time, I created a list of some of my own if-thens: If I want to get a lot of original writing done, I go to the library, where I don’t have Internet. If offered wine, I decline.",
          "type": "quotation"
        },
        {
          "ref": "2023, Alicia Britt Chole, The Night Is Normal: A Guide Through Spiritual Pain, Tyndale Refresh, page 106",
          "text": "Or maybe her if-then was shaped more like a question: Surely God would not have brought this child here if it was not His plan to keep her here, right? Our if-thens can be quite similar. If God really loves me, then He won’t let my heart be broken again. If God allows a door to open, then walking through it will bring me joy.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "A proposition or statement about what should or does occur when a certain condition is met."
      ],
      "id": "en-if-then-en-noun-dMCVm5SB"
    },
    {
      "categories": [
        {
          "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"
        },
        {
          "_dis": "42 58",
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "ref": "1981, Apple Orchard, page 31",
          "text": "List Formatter makes properly-spaced & indented listings with page breaks; each statement on new line, if-thens and loops called out; a great de-bugger!",
          "type": "quotation"
        },
        {
          "ref": "1985, 1985 Symposium on Logic Programming: July 15-18, 1985; Sheraton Boston Hotel Boston, Mass., IEEE Computer Society Press, page 71",
          "text": "Storing (closed) predicate definitions in this form (if all the predicates are so stored, and there never were any cuts or if-thens in the first place, we have the well-known \"completion\" of a logic program) makes the coding of source-level tools simpler.",
          "type": "quotation"
        },
        {
          "ref": "1989 December, David W. Long, Michael R. Wagner, “Insect Pest Management Expert Systems in Multiresource Management of Ponderosa Pine”, in Multiresource Management of Ponderosa Pine Forests: Nov. 14 - 16, 1989, Flagstaff, Arizona (General Technical Report RM-185), page 260",
          "text": "1. The problem is well bounded, 2. There are many empirical if/thens that lead to a correct solution, 3. The total number of if/thens is sufficient to bring you close to a right answer (Mazur 1987).",
          "type": "quotation"
        },
        {
          "ref": "1992, Donald L. DeAngelis, Louis J. Gross, editors, Individual-Based Models and Approaches in Ecology: Populations, Communities and Ecosystems, Chapman and Hall, pages 154–155",
          "text": "Many if-thens will degrade vector performance below that of a scalar version that computes only the correct branch.",
          "type": "quotation"
        },
        {
          "ref": "1994, Compute!, page 30",
          "text": "Think of this process as programming with pictures, complete with loops, pauses, if-thens, and so on.",
          "type": "quotation"
        },
        {
          "ref": "2000, Harold J. Rood, Logic and Structured Design for Computer Programmers, Brooks/Cole, page ix",
          "text": "Finally, they use descriptions and statements from set theory to provide material for flowcharting problems that contain multiple decisions (nested if-thens).",
          "type": "quotation"
        },
        {
          "ref": "2001, Mark Guzdial, Squeak: Object-Oriented Design with Multimedia Applications, Prentice Hall, page 35",
          "text": "Simple statements (like assignments and if-thens) are executed serially.",
          "type": "quotation"
        },
        {
          "ref": "2004, Jim, quotee, “Co-Evolution of Design and Pedagogy Online”, in Sasha A. Barab, Rob Kling, James H. Gray, editors, Designing for Virtual Communities in the Service of Learning (Learning in Doing: Social, Cognitive and Computational Perspectives), Cambridge University Press, page 253",
          "text": "But I think that the badge system is very motivating, and if one of your goals is to get students to become more proficient in the programming, then this is certainly a way to do that. Because you set not a very high bar toward attaining these things and some of them I think are quite challenging – you know, doing the ones for lists, and the if-thens, and all that.",
          "type": "quotation"
        },
        {
          "ref": "2004, Macworld, page 96",
          "text": "However, you can neither create multiple if-thens that execute simultaneously, nor create a rule based on a file’s Kind—so this utility’s utility is limited (November 2003).",
          "type": "quotation"
        },
        {
          "ref": "2005 February, Make: Technology on Your Time, volume 01, O’Reilly Media, Inc., page 160",
          "text": "Have you noticed any similarities between “programming” a mechanical system and writing software? / The logical problems are absolutely the same. In the mechanical and in the computer, there are equivalents of variables and if-thens.",
          "type": "quotation"
        },
        {
          "ref": "2012, Kim Stanley Robinson, 2312, Hachette",
          "text": "There’s some recursive programming in her that gives more weight to associative and metaphorical thinking than to logical if-thens.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "A conditional statement; a line of code that specifies a boolean condition to check and a statement to execute when that boolean evaluates to true."
      ],
      "id": "en-if-then-en-noun-NNDZYN~V",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "conditional",
          "conditional"
        ],
        [
          "statement",
          "statement"
        ]
      ],
      "raw_glosses": [
        "(programming) A conditional statement; a line of code that specifies a boolean condition to check and a statement to execute when that boolean evaluates to true."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "synonyms": [
    {
      "_dis1": "0 0",
      "word": "if/then"
    },
    {
      "_dis1": "0 0",
      "word": "if–then"
    }
  ],
  "word": "if-then"
}
{
  "categories": [
    "English countable nouns",
    "English entries with incorrect language header",
    "English lemmas",
    "English multiword terms",
    "English nouns"
  ],
  "forms": [
    {
      "form": "if-thens",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "if-then (plural if-thens)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English terms with quotations"
      ],
      "examples": [
        {
          "ref": "2007, Nicholas Rescher, Conditionals, MIT Press, page 13",
          "text": "Disposition statements are always tantamount to conditional if-thens. (“Glass is fragile” amounts to “If glass is subjected to a shock, it will break”; “Wood is combustible” comes to “If wood is exposed to fire, it will burn”; and so on.)",
          "type": "quotation"
        },
        {
          "ref": "2015, Gretchen Rubin, Better Than Before: What I Learned About Making and Breaking Habits—to Sleep More, Quit Sugar, Procrastinate Less, and Generally Build a Happier Life, Broadway Books",
          "text": "Over time, I created a list of some of my own if-thens: If I want to get a lot of original writing done, I go to the library, where I don’t have Internet. If offered wine, I decline.",
          "type": "quotation"
        },
        {
          "ref": "2023, Alicia Britt Chole, The Night Is Normal: A Guide Through Spiritual Pain, Tyndale Refresh, page 106",
          "text": "Or maybe her if-then was shaped more like a question: Surely God would not have brought this child here if it was not His plan to keep her here, right? Our if-thens can be quite similar. If God really loves me, then He won’t let my heart be broken again. If God allows a door to open, then walking through it will bring me joy.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "A proposition or statement about what should or does occur when a certain condition is met."
      ]
    },
    {
      "categories": [
        "English terms with quotations",
        "en:Programming"
      ],
      "examples": [
        {
          "ref": "1981, Apple Orchard, page 31",
          "text": "List Formatter makes properly-spaced & indented listings with page breaks; each statement on new line, if-thens and loops called out; a great de-bugger!",
          "type": "quotation"
        },
        {
          "ref": "1985, 1985 Symposium on Logic Programming: July 15-18, 1985; Sheraton Boston Hotel Boston, Mass., IEEE Computer Society Press, page 71",
          "text": "Storing (closed) predicate definitions in this form (if all the predicates are so stored, and there never were any cuts or if-thens in the first place, we have the well-known \"completion\" of a logic program) makes the coding of source-level tools simpler.",
          "type": "quotation"
        },
        {
          "ref": "1989 December, David W. Long, Michael R. Wagner, “Insect Pest Management Expert Systems in Multiresource Management of Ponderosa Pine”, in Multiresource Management of Ponderosa Pine Forests: Nov. 14 - 16, 1989, Flagstaff, Arizona (General Technical Report RM-185), page 260",
          "text": "1. The problem is well bounded, 2. There are many empirical if/thens that lead to a correct solution, 3. The total number of if/thens is sufficient to bring you close to a right answer (Mazur 1987).",
          "type": "quotation"
        },
        {
          "ref": "1992, Donald L. DeAngelis, Louis J. Gross, editors, Individual-Based Models and Approaches in Ecology: Populations, Communities and Ecosystems, Chapman and Hall, pages 154–155",
          "text": "Many if-thens will degrade vector performance below that of a scalar version that computes only the correct branch.",
          "type": "quotation"
        },
        {
          "ref": "1994, Compute!, page 30",
          "text": "Think of this process as programming with pictures, complete with loops, pauses, if-thens, and so on.",
          "type": "quotation"
        },
        {
          "ref": "2000, Harold J. Rood, Logic and Structured Design for Computer Programmers, Brooks/Cole, page ix",
          "text": "Finally, they use descriptions and statements from set theory to provide material for flowcharting problems that contain multiple decisions (nested if-thens).",
          "type": "quotation"
        },
        {
          "ref": "2001, Mark Guzdial, Squeak: Object-Oriented Design with Multimedia Applications, Prentice Hall, page 35",
          "text": "Simple statements (like assignments and if-thens) are executed serially.",
          "type": "quotation"
        },
        {
          "ref": "2004, Jim, quotee, “Co-Evolution of Design and Pedagogy Online”, in Sasha A. Barab, Rob Kling, James H. Gray, editors, Designing for Virtual Communities in the Service of Learning (Learning in Doing: Social, Cognitive and Computational Perspectives), Cambridge University Press, page 253",
          "text": "But I think that the badge system is very motivating, and if one of your goals is to get students to become more proficient in the programming, then this is certainly a way to do that. Because you set not a very high bar toward attaining these things and some of them I think are quite challenging – you know, doing the ones for lists, and the if-thens, and all that.",
          "type": "quotation"
        },
        {
          "ref": "2004, Macworld, page 96",
          "text": "However, you can neither create multiple if-thens that execute simultaneously, nor create a rule based on a file’s Kind—so this utility’s utility is limited (November 2003).",
          "type": "quotation"
        },
        {
          "ref": "2005 February, Make: Technology on Your Time, volume 01, O’Reilly Media, Inc., page 160",
          "text": "Have you noticed any similarities between “programming” a mechanical system and writing software? / The logical problems are absolutely the same. In the mechanical and in the computer, there are equivalents of variables and if-thens.",
          "type": "quotation"
        },
        {
          "ref": "2012, Kim Stanley Robinson, 2312, Hachette",
          "text": "There’s some recursive programming in her that gives more weight to associative and metaphorical thinking than to logical if-thens.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "A conditional statement; a line of code that specifies a boolean condition to check and a statement to execute when that boolean evaluates to true."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "conditional",
          "conditional"
        ],
        [
          "statement",
          "statement"
        ]
      ],
      "raw_glosses": [
        "(programming) A conditional statement; a line of code that specifies a boolean condition to check and a statement to execute when that boolean evaluates to true."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "synonyms": [
    {
      "word": "if/then"
    },
    {
      "word": "if–then"
    }
  ],
  "word": "if-then"
}

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.