Re: K&R Operator precedence (was: Re: ObjC method syntax)
Re: K&R Operator precedence (was: Re: ObjC method syntax)
- Subject: Re: K&R Operator precedence (was: Re: ObjC method syntax)
- From: Allan Odgaard <email@hidden>
- Date: Thu, 26 Feb 2004 11:29:03 +0100
On 26. Feb 2004, at 11:17, Ondra Cada wrote:
(b) though indeed the low priority of bitwise ops seems to me (about
the only) priority design flaw in C--does anybody know any rationale
behind it?
AFAIK K&R C did not have the boolean AND and OR operators, so one would
instead use the bit-wise operator to mean a logic AND, like this:
if(a < b & b < d)
...
(c) do I feel right it is gradually becoming a tad OT? ;)))
Probably :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.