> I recently became aware of a programming convention where you put the > constant on the lhs, that is, you write "if (42 == n)" instead of > "if (n == 42)". The idea is that you will get a compiler error if you > write "=" instead of "==". However, if you do write "if (n = 42)" gcc > warns you about it, so I am not convinced of the merits of this, since > it reads rather unnaturally.
I was trying to come up with a nice analogy of this, cause I know there are a few, but I just couldnt do it. That is the way I learned to use constants, and it has worked for me, it just becomes natural with time. HTH richard reynolds [EMAIL PROTECTED] -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
