gnustep-dev
[Top][All Lists]
Advanced

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

Re: EOFault / NSAutoreleasePool


From: Helge Hess
Subject: Re: EOFault / NSAutoreleasePool
Date: Sat, 15 Mar 2008 14:41:39 +0100

On 13.03.2008, at 16:35, Fred Kiefer wrote:
It seems wrong to me to return a
different selector from +instanceMethodForSelector: than from
-methodForSelector:.


Really? To me this is one of the most important core features of Objective-C. +instanceMethodForSelector: returns the method the class object provides, while -methodForSelector: returns the method the object actually uses. Which will usually be the class method, but in all kinds of dynamic language bridges, faults, etc, something else.

Thats why I call ObjC an _object_ oriented programming language (in contrast to _class_ oriented languages like C++).

Greets,
  Helge
--
Helge Hess
http://www.helgehess.eu/




reply via email to

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