• 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 question for you old guys ;-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C question for you old guys ;-)


  • Subject: Re: C question for you old guys ;-)
  • From: Jim Correia <email@hidden>
  • Date: Mon, 9 Jun 2003 18:10:49 -0400

On Monday, June 9, 2003, at 05:50 PM, John C. Randolph wrote:

On Monday, June 9, 2003, at 02:21 PM, Rob Kuilman wrote:

thereby, as i said before, i find 'is' a lot harder to read than '==' :-)

The question is how easily you can spot a '=' that's meant to be a '=='. I've seen people stare at a bug like that for a long time before they realized it.

Then why not turn on the warning that will catch them?

The Metrowerks compilers have a warning that tells you about possible unwanted assignments. GCC's -Wparentheses does something similar.

Jim
_______________________________________________
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: C question for you old guys ;-) (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: PPP Control
  • Next by Date: Re: C question for you old guys ;-)
  • Previous by thread: Re: C question for you old guys ;-)
  • Next by thread: Re: C question for you old guys ;-)
  • Index(es):
    • Date
    • Thread