Re: Future Objective-C changes
Re: Future Objective-C changes
- Subject: Re: Future Objective-C changes
- From: lbland <email@hidden>
- Date: Fri, 16 May 2003 13:32:19 -0400
On Friday, May 16, 2003, at 12:47 PM, David Burnett wrote:
Your example
-(int)doSomethingWithFoo:(Foo*)y;
-(int)doSomethingWithFoo:(int)y;
I'd have called the second function
-(int)doSomethingWithInt:(int)y;
This is called "manual name mangling". It is something C++ does as a
feature behind the scenes in part as a way to get around old linker
specifications. Normally, C++ guys think mangling the type into the
method name is a step backwards. I, however, after reading millions of
confusing C++ code lines, think the Obj-C naming style is far superior
because it is explicit and readable.
Lance Bland
mailto:email@hidden
VVI
888-VVI-PLOT
http://www.vvi.com
_______________________________________________
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.