D front-end in D for D

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Sat Jul 14 05:59:45 PDT 2012


On Sat, Jul 14, 2012 at 4:52 PM, Timon Gehr <timon.gehr at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120714/2c1d752c/attachment.html>


More information about the Digitalmars-d mailing list