On 14/07/2012 15:33, Gor Gyolchanyan wrote:
On Sat, Jul 14, 2012 at 5:23 PM, Kevin Cox <[email protected]
<mailto:[email protected]>> wrote:


    On Jul 14, 2012 9:15 AM, "David" <[email protected] <mailto:[email protected]>> 
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.

Reply via email to