I'm not a PL/I novice, if not an expert.  Whatever you read, it does not
mean what you think it means.

A constant (or variable) named TWO is an abomination in any language.

sas

On Fri, Sep 4, 2020 at 10:44 AM Paul Gilmartin <
0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> I'm a PL/I novice, or less.  A recent thread here moved me
> to browse the Ref., where I read that any constant used more
> than once must be declared and the identifier used instead.
> Sorta tyrannical enforcement of coding conventions.  OK.
> I agree that 6.62607015e−34 shouldn't be hard-coded more
> than once.  But SQRT( X**TWO + Y**TWO )?  Ugh!
>
> -- gil
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to