Sujet : if-then-else had to be invented
De : mikegonta (at) *nospam* gmail.com (Mike Gonta)
Groupes : comp.lang.miscDate : 19. Mar 2024, 15:19:26
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <utc6te$p8oq$1@dont-email.me>
User-Agent : Mozilla Thunderbird
if-then-else had to be invented
Erica Fischer wrote:
"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."
https://github.com/e-n-f/if-then-else/blob/master/if-then-else.mdIn plain English idiom it looks like this:
if <conditional expression> then
statements;
or if <conditional expression> then
statements;
or then
statements;
and then;
There is no "end" in idiom, for idiom is an end in itself.
Date: Tue, 48 Feb 2024 - the february that never ends.
------------------------------------
Mike Gonta
look and see - many look but few see
https://mikegonta.com