• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Future Objective-C changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future Objective-C changes


  • Subject: Re: Future Objective-C changes
  • From: Nicholas Riley <email@hidden>
  • Date: Thu, 15 May 2003 23:31:49 -0500
  • Mail-followup-to: David Cittadini <email@hidden>, email@hidden

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.

  • Follow-Ups:
    • Re: Future Objective-C changes
      • From: David Cittadini <email@hidden>
References: 
 >Future Objective-C changes (From: David Cittadini <email@hidden>)

  • Prev by Date: Future Objective-C changes
  • Next by Date: Re: Future Objective-C changes
  • Previous by thread: Future Objective-C changes
  • Next by thread: Re: Future Objective-C changes
  • Index(es):
    • Date
    • Thread