Re: C question for you old guys ;-)
Re: C question for you old guys ;-)
- Subject: Re: C question for you old guys ;-)
- From: Simon Stapleton <email@hidden>
- Date: Wed, 11 Jun 2003 20:06:54 +0200
Greg Weston <email@hidden> wrote :
b) It's not redefining the language semantics. It's effectively
introducing a new keyword that _may_ improve readability and with
practice can improve correctness of code. I don't see how it's any
different than any other macro.
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.
No, it doesn't improve correctness of code. There's one thing I've
come across in my career that improves correctness of code, and that is
unit testing.
Simon
p.s. sorry if this seems a bit cranky, but I've had this particular
argument with people who were arguably better at their job than me, but
turned out 50% less correct code in a day. On top of that, I've just
spent the day putting up scaffolding in 37 degree heat and I have a
sunburned head.
--
PGP Key Id : 0x50D0698D
--
If the answer isn't obvious, the question is a distraction. Go find an
easier question.
_______________________________________________
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.