News for hackers. Stuff that matters.
Re:if...then...else had to be invented (2019) by Philadelphia on Sunday December 13, 2020 @02:38PM (#25409419)
It’s a common and accepted construction in English

“or else

used to say what will happen if another thing does not happen:

We must be there by six, or else we'll miss the beginning”

https://dictionary.cambridge.org/us/dictionary/english/or-el...

Re:if...then...else had to be invented (2019) by llimos on Sunday December 13, 2020 @03:25PM (#25409883)
Right. But I can't think of a good sentence that starts with 'if' and contains 'or else'.

It could be that the 'if' is implied if you say 'or else'. But 'otherwise' works fine following 'if' and it would probably have been better if they stuck to that. (Albeit lots more keystrokes - but as keywords go it's shorter than 'instanceof' and people don't complain about that one.)

Re:if...then...else had to be invented (2019) by Philadelphia on Sunday December 13, 2020 @03:52PM (#25410142)
It’s more the concept than the grammar. You do this, or else you do that.

instanceof is very new. At the time of if/else, there wasn’t anything nearly that long. It’s even too long for a filename on many computers of the era.