If-then-else had to be invented

Video


01

Hi, I'm Eric. I'm here to talk about what seems like an absurd idea: that if-then-else had to be invented.


02

If-then-else is how we talk about conditions in programming languages: if something is true, then do a thing, else do a different thing.

That's just English, right? Except that it isn't. I can't use "else" as a conjunction in normal speech, only in computer programs.

Where did this else come from? It's a mystery. It's too microscopic a detail to have made it into books on the history of programming languages.