Safe mode in D?

Max Samukha maxsamukha at gmail.com
Fri Oct 18 23:54:28 PDT 2013


On Friday, 18 October 2013 at 23:03:42 UTC, ProgrammingGhost 
wrote:

> Whats 'wrong' with this code?

Nothing, that's the point. Just like with __traits(getOverloads, 
this, "__ctor")[0](i).

In my world, safety features of a language are meant to help a 
fairly reasonable programmer avoid accidental mistakes. Misusing 
reflection or C interface is not an accidental mistake.


More information about the Digitalmars-d mailing list