On Tue, May 01, 2007 at 10:56:34AM -0400, Devon H. O'Dell wrote:
> I've seen more than my fair share of tf = !!value; out there, which is
> just awful to read.

  eye of the beholder?  Admittedly it is striking the first few times one reads 
it.

  But I see it as just another of those idioms which one gets used to.

  Inherently no worse than 'if (!ptr)' or 'if (ptr && ptr->field)'.

  I know some people who get really upset whenever they read the above
  two.  Complaining that 'pointers are not booleans!',  and demanding
  that comparisions with 'NULL' be added.

DF

Reply via email to