• 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: Greg Weston <email@hidden>
  • Date: Wed, 11 Jun 2003 18:12:42 -0400

On Wednesday, June 11, 2003, at 04:53 PM, Jay Prince wrote:


On Wednesday, June 11, 2003, at 11:06 AM, Simon Stapleton wrote:
No, it doesn't improve readability. Having come across this particular atrocity a few times in my career, I can say that _every_ time I've seen it, it's taken longer to read the code.


Maybe I missed it, but why do people not just put the constant on the left-hand side of the comparison?

Because many people find it artificial and difficult to read.

G
_______________________________________________
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: Jay Prince <email@hidden>)

  • Prev by Date: Re: troubling article
  • Next by Date: Re: Getting coverart from a track via AppleScript
  • Previous by thread: Re: C question for you old guys ;-)
  • Next by thread: Re: C question for you old guys ;-)
  • Index(es):
    • Date
    • Thread