On 10 May 2010, at 3:18 PM, Henry McGilton wrote: > By the way, I concur with Thomas Davie: treating a pointer as a Boolean makes > me nervous.
It shouldn't. Until recently, there was no such thing as a Boolean in C; there was only the distinction between zero and nonzero. NULL-is-zero-is-false (semantically) is as ironclad an invariant of the language as the if statement. People should be able to read idiomatic C without needing Purell. — F _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com