[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation Bug?
From: |
Patrick McFarland |
Subject: |
Re: Documentation Bug? |
Date: |
Fri, 17 Jun 2005 05:22:46 -0400 |
User-agent: |
KMail/1.8 |
On Friday 17 June 2005 12:19 am, Richard Frith-Macdonald wrote:
> I've fixed the programming manual ... worse than just a typo ... wrong on
> memory management in a few places, with the appearance that the author was
> wrong/confused in understanding what +new methods do.
> I don't know how we missed it during proofreading. It could probably do
> with other people checking it too, as it's obviuously easy to miss these
> things.
re: Point class example.
The consensus of #gnustep is that doing [[self allocWithZone:
NSDefaultMallocZone()] init] is retarded. #gnustep also thinks implementing
+new yourself instead of using NSObject's implementation is retarded. If
people wanted speed they wouldn't be using +new in the first place.
Jeff Teunissen say about the example, "It's 'efficient' at great expense,
doesn't fit the standard models, is excessively verbose."
Please correct Point class example in the manual.
--
Patrick "Diablo-D3" McFarland || pmcfarland@downeast.net
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
pgphwbGJ4nD9d.pgp
Description: PGP signature