Re: Paying developers to get features faster
From: Steve Holdoway (steve_at_itemfront.ltd.uk)
Date: 01/25/04
- Next message: Casper H.S. Dik: "Re: Paying developers to get features faster"
- Previous message: Shmuel (Seymour J.) Metz: "Re: Paying developers to get features faster"
- In reply to: Kasper Dupont: "Re: Paying developers to get features faster"
- Next in thread: Måns Rullgård: "Re: Paying developers to get features faster"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 26 Jan 2004 08:48:27 +1300
On Fri, 23 Jan 2004 06:45:26 +0100, Kasper Dupont
<kasperd@daimi.au.dk> wrote:
>Steve Holdoway wrote:
>>
>> On 22 Jan 2004 08:43:58 GMT, Casper H.S. Dik <Casper.Dik@Sun.COM>
>> wrote:
>>
>> >
>> > if (<var> = <expression>)
>> isn't this always true ( I can't think of a time when it isn't off the
>> top of my head! )?
>
>It is false if the expression evaluates to zero.
Aren't you testing whether the assignment was ok, not the value
assigned to var?
Otherwise, why do you use the construct
if ( (handle = fopen (file, args) ) == NULL ) if you don't need the
extra braces. Stick a couple of int casts if you want t be really
picky.
Steve
- Next message: Casper H.S. Dik: "Re: Paying developers to get features faster"
- Previous message: Shmuel (Seymour J.) Metz: "Re: Paying developers to get features faster"
- In reply to: Kasper Dupont: "Re: Paying developers to get features faster"
- Next in thread: Måns Rullgård: "Re: Paying developers to get features faster"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|