On Oct 2, 2:38=A0pm, wort... / gmail.com wrote:
> Hi
>
> I was just reading the following blog posthttp://www.elctech.com/blog/cla=
rity-over-cleverness-but-what-is-clever,
> and like the author, it is the first time I have seen code as he
> describes. =A0From the comments it would seem that some think it is an
> idiom to be used, and perhaps others do not.
>
> Just curious as to how common this use it? =A0I do tend to side with
> view that it is not clear at first glance.

It's pretty common; since it saves a line of code. As long as the
assignment is right on the surface of the condition, and not buried
deep inside other logic, I think it works well and is quite readable.

IMHO,
T.