Re: C question for you old guys ;-)
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.