www.digitalmars.com         C & C++   DMDScript  

D - Reflection

reply "Craig Black" <cblack ara.com> writes:
It's been a while since I've investigated the D language and I see that the
syntax has been improved and the compiler implementation is maturing.  This
is all very good. One question.  I could find nothing regarding reflection
although I faintly remember it being part of Phobos at one time.  Has
reflection been dumped?  If so, I would be greatly disappointed.

Craig
Mar 24 2004
parent J Anderson <REMOVEanderson badmama.com.au> writes:
Craig Black wrote:

It's been a while since I've investigated the D language and I see that the
syntax has been improved and the compiler implementation is maturing.  This
is all very good. One question.  I could find nothing regarding reflection
although I faintly remember it being part of Phobos at one time.  Has
reflection been dumped?  If so, I would be greatly disappointed.

Craig


  
If by reflection you mean RTTI then no it's still there. If you mean being able to determine properties and method names, then that has not been implemented. Hear say -> heard someone say that Walter has said that he will improve RTTI, but I'm not sure if that's true. For more on RTTI see the brief description I wrote: http://www.prowiki.org/wiki4d/wiki.cgi?HowTo/RealtimeTypeInformation -- -Anderson: http://badmama.com.au/~anderson/
Mar 24 2004