discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setter Gettor method style


From: Martin Häcker
Subject: Re: Setter Gettor method style
Date: Tue, 6 Aug 2002 17:37:21 +0200

Hi there!

I must admit that you see me a bit confused here. I am a loving OS X user and also a big (though admittedly new) fan of GnuStep. What I am searching for is a programming style with wich it would be easiest for me to cross the boundaries and also do some programming for GnuStep.

Now on this particular (and to me it seems pretty basic) feature I don't really know what to do. Apple seems to settle on the approach that "some sort of garbage collection" is used through autorelease, while you GnuStep guys prepare the foundation (and soon the appkit too) for use with "real" garbage collection.

So I for myself can follow both your arguments Nicola (which are also raised by Marcel Weiher and Marco Sheurer on the OS X mailing list) as the arguments of Apple that Speed isn't so important especially for a newbie and thus the "easier" pattern should be used for all newly written code, while the Collection classes will not do so and instead use the different non autoreleased accessor scheme.

<rant> Well... as soon as GnuStep is exclusively used with Garbage Collection this won't be an issue anymore on that platform, but I don't know if Apple ever wants to introduce Garbage Collection into their side of the framework.</rant>

Would it be reasonable to declare one as the standard and document whenever you choose the other one (because of speed/ simplicity for the user)?

What do you think should be the standard then? What if it differs from what Apple uses?

Sorry, for this long posting...

Peace, Martin
--
dont.wanna.tell
[ot]coder - hehe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]