D versus Objective C Comparison

Walter Bright newshound1 at digitalmars.com
Sat Jan 31 15:50:52 PST 2009


Michel Fortin wrote:
> One area I think Objective-C to be very great and that you haven't 
> touched is for creating stable APIs. In Objective-C, contrary to D and 
> C++, you don't have to recompile every dependency when reordering, 
> adding and removing member functions in a class. In 64-bit Objective-C 
> 2.0, you can even add variables to a class without care about 
> recompiling derived classes. Compare that to D, where exposing a class 
> as a public API will either force you to not change much that class, or 
> force your users to recompile every time you make such a change.

If you use interfaces, you can add member fields without needing to 
recompile clients.



More information about the Digitalmars-d mailing list