Something like depending on NULL being all-bits-zero .. like in:

if (!something)
    do_something_else();

It would be more correct to write:

if (something==NULL)
    do_something_else();

... just a guess :)

On Mon, 21 Jan 2002 11:13:33 +0000, Palm Developer Forum 
<[EMAIL PROTECTED]> said:
>Quoting John Marshall ([EMAIL PROTECTED]):
>
>> Standard C allows a lot of interesting choices to be made.  Many of them
>> are becoming less likely choices, however, due to the apparent need to
>> pander to programmers who don't know what they're doing.  For example,
>> it's unlikely that any new architectures will favour representing null
>> pointers as anything other than all-bits-zero, not because it's a bad
>> choice (on the contrary), but because people write non-portable code
>> because they Just Don't Get It.
>
>In what way do they "Just Don't Get It"?
>
>James
>
>-- 
>For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to