• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: K&R Operator precedence (was: Re: ObjC method syntax)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: K&R Operator precedence (was: Re: ObjC method syntax) (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: K&R Operator precedence (was: Re: ObjC method syntax)
  • Next by Date: Re: Tuning KVO validation.
  • Previous by thread: Re: K&R Operator precedence (was: Re: ObjC method syntax)
  • Next by thread: Re: ObjC method syntax (was: Re: cocoa-dev digest, Vol 2 #3738 - 11 msgs)
  • Index(es):
    • Date
    • Thread