On Mon, 14 Mar 2022 14:03:22 +0000, Seymour J Metz wrote:

>I believe that the are languages that use inverted keywords to end blocks, 
>leading to the infamous "comment bletch! tnemmoc". Personally, I prefer "end" 
>or "endif", optionally with a label, 
>
What idiot designing JCL's "IF" chose not to require that label fields on "ELSE"
and "ENDIF" match that on the corresponding "IF" for nesting validation‽

>   ... to terminate everything but comments, for which I like the PL/I syntax 
> "/* foo */", although line comments have their uses.
>
Perhaps the worst is ALGOL 60's "end" <comment> ";", leading compiler
implementers to provide a "Delimiter in comment" warning.

-- 
gil

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

Reply via email to