"David Stes" <stes@D5E02895.kabel.telenet.be> wrote in message
> John C. Randolph <email@example.com> wrote:[color=green][color=darkred]
> The question was : is it good practice to "return self".
> The answer is: YES.[/color]
Wrong. The answer is NO. You are posing a *general* *unqualified*
question. By phrasing the question in the way you have done you are asking
"is it good practice to 'return self' in all implementations of
Again and again you fail to understand that, in the absence of a standard,
there is not *one* objective-C. That means that there is not one language,
or one runtime, or one class library. You control a particular
implementation of objective-C in the form of POC. You make design choices
like returning self, feel free to tell us why you use them, but if you have
any kind of intelligence then respect the choices made by others. What
Apple chooses to do does not impact what you choose to do with POC in any
way. Your implementation is as valid as theirs and vice-versa. So keep
quiet and stop moaning.
You also fail to understand that, in the absence of a standard, the argument
"because it has always been that way" is also complete rubbish. Languages
evolve, they change. If someone spots part of a class library that is not
always safe, for example, say, like returning self, then they can bin it in
their own implementation. Especially if that "feature" results in crappy
syntax, and poor use of the language. Stuff precedent. If something is
daft then roll on change. Everyone has a right to their own decisions and
their own implementation. I dread to think what your politics are like, you
must be one scary person.
Please learn to control your language. Maybe english isn't your first
language? Do you know how to write it? Hint - unqualified statments are
assumed to mean in the general case, which usually encompasses everything.
Perhaps you need to be introduced to the concept of subjectivity, both in
language and reasoning.
> [lots of misinformed trash about retain/release snipped][/color]