On Wed, 29 Mar 2023, at 14:01, Paul Gilmartin wrote:

> Too many languages lack ELSEIF and strong closure.  Fie on
> the danglig ELSE!

An ALGOL variant (S-ALGOL) that I used at university differentiated
between, IIRC, 

 IF ... THEN ... ELSE

and 

IF ... DO

which meant that as soon as the compiler saw THEN or DO it 
knew whether or not there should be an ELSE later on.  It was
such a simple idea but it worked well for both programmers
& the compiler.

-- 
Jeremy Nicoll - my opinions are my own.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to