Top
Best
New

Posted by theanonymousone 3 days ago

The 'else' keyword is probably a literal translation from German (2020)(github.com)
59 points | 37 commentspage 2
bitwize 1 hour ago||
No. English has used else to mean "otherwise" since before computers came along. Wiktionary offers this quote from Call of the Wild (1903):

"He had never seen dogs fight as these wolfish creatures fought, and his first experience taught him an unforgetable lesson. It is true, it was a vicarious experience, else he would not have lived to profit by it."

https://en.wiktionary.org/wiki/else#Conjunction

There's also "or else", as made famous in crime dramas: "Meet me by the docks at midnight. Bring the money. Come alone. No cops... or else!" But in other usage it can of course be followed by something. "He had to get to work on time, or else he might be fired."

saintfire 1 hour ago||
Article states else is archiac English but later says someone called it ignorantly incorrect English and suggested using "or".

Ive always assumed it was effectively "otherwise" but shortened to "or else" -> "else".

Given the alternative to use "or" as the first pushback I feel that acts as confirmation. I prefer else because "or" has implications in boolean and bitwise logic that else doesn't.

LocalH 1 hour ago||
what
Frieren 1 hour ago||
If ... then ... otherwise ...

Fixed!

hcs 1 hour ago||
if ... then ... neht ... fi
voidmoth 1 hour ago||
[dead]
xdennis 1 hour ago||
> I can't use "else" as a conjunction in normal speech, only in computer programs.

Not true. Here's an example from 1876 in which "else" is used as a conjunction.

> My brother is poor, and I want to look as much like him as I can, else he may feel distant from me.

-- George Eliot ( https://www.victorianlondon.org/etexts/eliot/deronda-0047.sh... )

---

Here's an example of "if ... else" from the 1914 translation of Crime and Punishment ( https://en.wikisource.org/wiki/Crime_and_Punishment/Part_IV/... ):

> Perhaps it will all come back, but now if you love me, give me up . . . else I shall begin to hate you, I feel it.

stldev 23 minutes ago|
1611 Psalm 51:16 (KJV) uses else as a conjunction as well.
wewewedxfgdf 1 hour ago|
The English language origin is from programming if/then/else
dboreham 1 hour ago|
Very not true.
rapidaneurism 9 minutes ago||
What if time travel was involved?