Adding properties/members to base types?

Christopher Wright dhasenan at gmail.com
Wed Sep 5 13:21:11 PDT 2007


Bill Baxter wrote:
> Apparently other languages have this feature though.  I'm curious how 
> they avoid the maintenance nightmare.

With good IDEs. (If they solve it at all, that is.)

I would like to see it work with static imports, though:

static import foo;
int i;
int j = i.foo.frob;

You're far less likely to confuse that than if you had to dynamically 
(?) import frob to use the member syntax.


More information about the Digitalmars-d-learn mailing list