Where does “elif” come from?
elif (English) comes from English else, from Middle English ells, from Old English elles, from Proto-West Germanic alljas, from Proto-Germanic aljas, from Proto-Indo-European h₂élyos, from Proto-Indo-European h₂él- — to grow, nourish.
elif (English): A conditional statement in computer code that runs after an "if" statement
Definitions
- A conditional statement in computer code that runs after an "if" statement
Ancestry of “elif”, step by step
elif traces back through two separate lines of ancestry.
via English else
| Step | Language | Word | Meaning |
|---|---|---|---|
| 1 | English | else | Other; in addition to previously mentioned items;... |
| 2 | Middle English | ells | — |
| 3 | Old English | elles | other, else; other, otherwise, different |
| 4 | Proto-West Germanic | alljas | else, otherwise, besides |
| 5 | Proto-Germanic | aljas | of another, of something else |
| 6 | Proto-Indo-European | h₂élyos | other, another |
| 7 | Proto-Indo-European | h₂él- | to grow, nourish |