I like using two letter abbreviations for comparisons.  EQ, NE, GT, LE, etc.  
Perhaps not so good if English is not your primary language, but...
I think FORTRAN is sort of similar, but it has annoying dots around the 
operators: .EQ., etc.  
I've never actually used FORTRAN so I can't say if the dots are actually of any 
use or not, but I don't like them.

I agree that := for assignment is pretty good.  But then I learned Pascal as my 
second programming language.
-- 

Frank Swarbrick
Applications Architect - Mainframe Applications Development
FirstBank Data Corporation - Lakewood, CO  USA
P: 303-235-1403


On 9/3/2010 at 10:56 AM, in message
<a6b9336cdb62bb46b9f8708e686a7ea005d5e05...@nrhmms8p02.uicnrh.dom>, "McKown,
John" <john.mck...@healthmarkets.com> wrote:
>>  -----Original Message-----
>> From: IBM Mainframe Discussion List 
>> [mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin
>> Sent: Friday, September 03, 2010 11:48 AM
>> To: IBM-MAIN@bama.ua.edu 
>> Subject: Re: Virginia DOT outage
>> 
>> On Fri, 3 Sep 2010 11:32:12 -0500, Tom Marchant wrote:
>> >
>> >Not ambiguous, I suppose, but sometimes counter-intuitive.
>> >
>> >What does this mean in C:
>> >If A=B then.....
>> >
>> I cherish languages of the ALGOL lineage for their use of "="
>> as a comparison operator but not for assignment.
>> 
>> And some DEC languages used <left-arrow> for assignment when
>> that was a prevalent graphic on Teletype print elements.  (I
>> believe ASCII usurped the code point with <underscore>.
>> 
>> -- gil
> 
> I would absolutely LOVE a grass roots campaign to eliminate = as a token in 
> any and all languages. Comparison should be ==. Assignment should be :=. No 
> ambiguity there. No "intuitive" meaning for newbies to make an assumption 
> about.
> 
> --
> John McKown 
> Systems Engineer IV
> IT
> 
> Administrative Services Group
> 
> HealthMarkets(r)
> 
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone * (817)-691-6183 cell
> john.mck...@healthmarkets.com * www.HealthMarkets.com 
> 
> Confidentiality Notice: This e-mail message may contain confidential or 
> proprietary information. If you are not the intended recipient, please 
> contact the sender by reply e-mail and destroy all copies of the original 
> message. HealthMarkets(r) is the brand name for products underwritten and 
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake 
> Life Insurance Company(r), Mid-West National Life Insurance Company of 
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
> 
>  
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

>>> 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to