besides, it's equivalent to
if (compile_stack.avail == true)

assuming compile_stack.avail is a bool ;)



On Fri, Aug 23, 2013 at 3:39 PM, Alex Rousskov
<rouss...@measurement-factory.com> wrote:
> On 08/23/2013 01:21 AM, Amos Jeffries wrote:
>>
>> Better:   if (!compile_stack.avail == false)
>>
>> for avoiding the integer magic conversion please.
>
> Please no. The above expression is too difficult to read correctly for
> humans. I would rather see bogus clang errors than read expressions like
> that.
>
> Alex.
>



-- 
    /kinkie

Reply via email to