Robert Osfield wrote:
> Following your logic we should also do:
>
> if (bool_variable==true)
> {
> }
>
> Rather than:
>
> if (bool_variable)
> {
> }
>
Actually, no. No ambiguity of intent is present. Only when there arises a case
where both assignment or comparison operators are logical possibilities can
there be ambiguity as to the original intent of the statement.
As to the more general discussion, it is very apparent that we will never agree
on anything in this matter, as we have *drastically* different views of what
constitutes the most "readable" code.
------------------------
Matthew W Fuesz
Software Engineer Asc
Lockheed Martin STS
------------------
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=4325#4325
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org