D/Objective-C Preliminary Design

Paolo Invernizzi arathorn at nospam.net
Thu Nov 4 02:11:21 PDT 2010


Sean Kelly Wrote:
 
> I like the way you've done it.  It seems like the Obj-C approach is kind of a sneaky way of implementing function overloading in C.
> D supports overloading, so there's no point in creating function names that include parameter names simply to match the Obj-C definition.
> Instead, only the function name is carried through and the rest is dropped into the parameter list.
> It seems like this approach would be easy to automate anyway, and more readable than the long form. 

I strongly agree with Sean, I like the current approach.

Paolo




More information about the Digitalmars-d mailing list