[J3] Syntax of conditional expressions

Van Snyder van.snyder at sbcglobal.net
Tue Jun 29 22:23:47 UTC 2021


On Tue, 2021-06-29 at 12:08 -0700, Gary Klimowicz via J3 wrote:
> The verbose form in Algol-68 was much more concise to begin with:   
> if a then b elif c then d else e fi      # 35 chars #
> Compare to (21-157r1 line 28)    if (a) then (b) elseif (c) then (d)
> else (e) endif ! 50 chars, 43% more

Didn't Algol 68 have reserved words? I think Malcolm's argument was
that the extra punctuation is necessary to avoid syntax ambiguities.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20210629/3a011b12/attachment.htm>


More information about the J3 mailing list