Re: Future Objective-C changes
Re: Future Objective-C changes
- Subject: Re: Future Objective-C changes
- From: Martin Häcker <email@hidden>
- Date: Mon, 19 May 2003 18:30:29 +0200
Hi there,
I hear this coming up quite some times, so I thought I'd ask. :)
What about double dispatch?
As far as I know it's dispatching a method call on the type of both
the argument and the receiver, thus effectively doing the (almost)
same thing as name mangling does. So this would allow code like this
to work:
- do:(id)anObject;
- do:(NSString *)aString;
Well... am I right on this? If so, what's the difference from the
effect created from name mangling? (apart from the technical
difficulties that name mangling creates)
If I recognize this correctly it's still a very powerless form of
pattern matching (which would really rock :).
Ok and I also have my own wishlist for Obj-C:
- Blocks or something like that
- Pattern Matching if that's possible
- A better syntax to turn message sending's into a first class object's
- A nice SCID IDE (At least that's in the works... :)
cu Martin
--
dont.wanna.tell
[ot]coder - hehe
_______________________________________________
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.