These features are must have for a modern language, falling back to a
dynamic language for scripting is understandable but reflection?
One another thing is the environment you like to work with and this is his
real point IMHO. He likes to work in a dynamic typed environment like
Python, and when it is not enough he switches to another language. Those
who like to work in a static language had/have no choice, but D.
On Thu, 21 Oct 2010 05:32:06 +0300, bearophile <[email protected]>
wrote:
A quotation from a little comment I've found on Reddit:
http://www.reddit.com/r/Python/comments/dtnwe/how_often_is_the_speed_of_python_considered_when/c12uk3g
Finally, by the time you have implemented reflection, introspection, a
decent plugin system and meta objects in your C++ application you've
inevitably Greenspunned yourself a dynamic language anyway. Why bother,
when you can take Python off the shelf?<
I presume in large C++ programs those features are useful. A way to
solve this problem is to give those features to D. An alternative
solution is to make D very easy to interoperate with a dynamic language
as Python/Lua/Ruby. A third way is intermediate, this means adding more
static introspection to D, and allowing for an easy interfacing between
D and a dynamic language. This third way may be the best.
Bye,
bearophile
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/