To me the purpose is that
--  it helps when reading the code

If more effort is spent on the next programmer
understanding what your code is doing
that is time well worth spent

 

 

 

-----Original Message-----
From: Martin Phillips <martinphill...@ladybridge.com>
To: 'U2 Users List' <u2-users@listserver.u2ug.org>
Sent: Thu, Aug 1, 2013 11:16 am
Subject: Re: [U2] What is true


Hi again,

I have been on a site where they insisted that
   A = B = C
should be written as
   A = B EQ C
to emphasise that the second operator is a relational test.

Personally, I use
   A = (B = C)
even though the brackets serve no purpose. It just helps when reading the code.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to