Re: Future Objective-C changes
Re: Future Objective-C changes
On Fri, May 16, 2003 at 02:04:37PM +1000, David Cittadini wrote:
>
Is there anywhere to monitor or suggest changes to the Objective-C
>
language? For example, I am interested to know if one day Objective-C
>
classes will support:
>
>
a) Namespaces/packages.
>
b) Generics/parameterized types.
>
c) Abstract classes, or at least some way to enforce that a class
>
cannot be instantiated directly.
>
d) Method overloading.
a) is useful and needed IMO; c) can be done easily by raising an
exception. b) really doesn't fit Objective-C's type system very well,
and doesn't provide any efficiency gains, since all methods are
dynamically invoked. Nothing stops you from using STL with
Objective-C++, of course.
d) is rather unnecessary given the format of Objective-C selectors.
Instead of int doSomething(Foo *y), you have
- (int)doSomethingWithFoo:(Foo *)y;
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.