On Wed, Jul 17, 2019 at 11:23 AM Steve Smith <sasd...@gmail.com> wrote:

> The original sin was making "=" the assignment operator.  I guess we can
> blame that on FORTRAN, and it must make mathematicians cringe still.
>

I haven't said anything, but I think you're correct. Of course, in the "bad
old days" of punch cards, there weren't a whole lot of choices. For these
types of languages, where = can mean either comparison or assignment, I
like to code comparisons with literals with the literal on the left hand
side. E.g. IF 0 = X THEN rather than IF X = 0 THEN.



>
> sas
>
>
-- 
We all agree on the necessity of compromise. We just can't agree on when
it's necessary to compromise. -- Larry Wall

Maranatha! <><
John McKown

----------------------------------------------------------------------
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