On Sat, Jul 14, 2012 at 4:52 PM, Timon Gehr <timon.gehr@gmx.ch> wrote:
On 07/14/2012 01:29 PM, Gor Gyolchanyan wrote:

It would also make run-time mixins possible, which is absolutely amazing.


It is amazingly unsafe, because at runtime there is no distinction
between strings generated by the program and strings created from input
to the program.

Messing with pointers is also dangerous. One of the points of D is not to ban dangerous stuff, but to warn about then and provide safer alternative.

Run-time mixins can be used for incredibly powerful stuff, yet the same run-time mixins can be used for incredibly dangerous stuff. Just don't use them if you don't know exactly what you're doing. :-)

--
Bye,
Gor Gyolchanyan.