• 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: 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.
  • Follow-Ups:
    • Re: C question for you old guys ;-)
      • From: Jay Prince <email@hidden>
  • Prev by Date: Java bridget - .jobs
  • 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