• 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: C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C


  • Subject: Re: C
  • From: Gregory Weston <email@hidden>
  • Date: Sun, 31 Aug 2003 21:26:05 -0400

On 8/30/03 at 11:32 PM, Clark Cox wrote:

> >> You would instead write this?:
> >>
> >> (z = (x + (y * w)));
> >
> > I would probably write
> >
> > z = x + (y * w);
>
> But, playing devil's advocate, what if you don't know that addition
> has a higher precedence than assignment?

I would submit that someone who doesn't know that * beats + doesn't even think
of assignment as being an expression.
_______________________________________________
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.

  • Prev by Date: Re: Resizing windows by their edges and corners
  • Next by Date: Re: C
  • Previous by thread: Re: C
  • Next by thread: Re: C
  • Index(es):
    • Date
    • Thread