Is this intended behavior?

Michel Fortin michel.fortin at michelf.com
Sun Aug 10 17:33:47 PDT 2008


On 2008-08-10 16:54:57 -0400, Jacob Carlborg <doobnet at gmail.com> said:

> I know that the convention is that class names should begin with an 
> uppercase letter and it's not very good to name a member variable the 
> same as the class name but I have not created the library I'm just 
> porting it. In this case "id" refers to the type "id" in Objective-c 
> http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_2_section_2.html#//apple_ref/doc/uid/TP30001163-CH11-SW3

What 
> 
kind of Java library is that you're porting?

By the way, in my D/Objective-C bridge, I'm using the root Object class 
in D as an equivalent to to the Objective-C id type, and it allows any 
D object to be passed to Objective-C code.
<http://michelf.com/projects/d-objc-bridge/>


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list