Hacker News new | past | comments | ask | show | jobs | submit

If-then-else had to be invented (2020)

https://github.com/e-n-f/if-then-else/blob/master/if-then-else.md
loading story #50285383
loading story #50285087
loading story #50285501
loading story #50284564
> I can't use "else" as a conjunction in normal speech, only in computer programs.

sure you can. who's going to stop you?

loading story #50284525
loading story #50284452
loading story #50284730
loading story #50285226
loading story #50285017
loading story #50284415
loading story #50284892
loading story #50286065
loading story #50284443
loading story #50292688
loading story #50284536
loading story #50285030
loading story #50284456
loading story #50284950
loading story #50285224
loading story #50285288
loading story #50284372
loading story #50284836
loading story #50285243
loading story #50286209
loading story #50285957
loading story #50284620
loading story #50293734
loading story #50284450
loading story #50284914
loading story #50284341
loading story #50285315
loading story #50284910
> 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.

loading story #50284800
loading story #50284974
loading story #50284606
loading story #50286855
loading story #50288481
loading story #50284292