D versus Objective C Comparison

bearophile bearophileHUGS at lycos.com
Wed Feb 4 04:30:20 PST 2009


Michel Fortin:
> with the extension syntax I proposed for class extensions in 
> D, you wouldn't have that problem (if implemented correctly) because 
> the compiler would always know from where the function is comming and 
> could therfore generate code so that the right function is called even 
> if a function of the same name is added to the underlying library. Hum, 
> perhaps this needs more explaination.

It sounds like the "scoped monkey patching" I was talking about :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list