getAttr method

bearophile bearophileHUGS at lycos.com
Fri Feb 1 09:52:35 PST 2008


Michiel Helvensteijn:
> PHP has something similar.

I use that in Python, so I know that (once in while) it can be useful in Python code.
But what I don't understand how much good it can be in a static language like D. I think Python has many other features that can be more useful for D (likes list comprehensions, generators, and few other syntactically sugared things, that ShedSkin translates to C++ quite well).

Bye,
bearophile



More information about the Digitalmars-d mailing list