• 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: Rob Kuilman <email@hidden>
  • Date: Mon, 9 Jun 2003 22:10:16 +0200

I agree with the below,

i disgust those macros, somehow, they make it harder than C is... == means an obvious comparisation to me,
whilis 'is' 'or' and 'and' are easy for well, me at least, to be read as a part of the parameter name...

I really feel you should keep your code as real as possible (thanks ali).

just my $ 0.02

Robert K.

web: http://halfduplex.net/
email: email@hidden
------------------------------------------------------------------------ ---------------------

On Monday, June 9, 2003, at 09:17 PM, Just van Rossum wrote:

John C. Randolph wrote:

When I do C things, I try hard not to warp the syntax of the
language like that.

When I use the preprocessor, I do so to make the code more legible and
obvious.

More legible and obvious to _you_.

When I write

#define is ==
#define and &&
#define or ||
#define until(a) while(!(a))

I eliminate a large number of errors that compile without complaint.

Everything non-standard will distract and confuse those readers not used
to _your_ specific macros. That will be nearly everyone. C is hard
enough as it is, don't make it worse by using your own dialect. Think
about your readers, they're more important than you.

Just
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: C question for you old guys ;-)
      • From: zauhar <email@hidden>
  • Prev by Date: Re: [OT] Where to get short sounds?
  • Next by Date: Re: Good Habits (was: 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