D front-end in D for D

deadalnix deadalnix at gmail.com
Sat Jul 14 09:23:08 PDT 2012


On 14/07/2012 15:33, Gor Gyolchanyan wrote:
> On Sat, Jul 14, 2012 at 5:23 PM, Kevin Cox <kevincox.ca at gmail.com
> <mailto:kevincox.ca at gmail.com>> wrote:
>
>
>     On Jul 14, 2012 9:15 AM, "David" <d at dav1d.de <mailto:d at dav1d.de>> wrote:
>      >>
>      >> 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. :-)
>      >
>      >
>      > I don't see any case where a "runtime-mixin" is the only solution
>     (it's definitly the unsafest)
>      >
>
>     Yes, eval or exec is pretty much outlawed in other languages, I can
>     only imagine the same would happen in D.
>
>
> That's a huge mistake a lot of people make. They outlaw things that they
> don't understand or don't know how to use. As I said: having something
> doesn't mean using it. Those who can use it - will use it. Those who
> can't - won't.
>

One usually don't want to qualify him/herself as incompetent and will 
use it anyway.

I see some beneficial uses for that, but definitively 99% of the time 
this is madness.


More information about the Digitalmars-d mailing list