module(system) Identifier;

BCS ao at pathlink.com
Sat Dec 13 13:07:28 PST 2008


Reply to bearophile,

> The last changelog of D2:
> http://www.digitalmars.com/d/2.0/changelog.html#new2_021
> Says:
> 
>> Added -safe switch and module(system) Identifier; syntax.<
>> 
> I am not sure that's the best solution.


I like the idea of being able to turn on or off different checks (BTW SafeD 
is all compile time, bounds checks are runtime) but having this at the top 
of the module makes it very easy to tell what files use unsafe code.





More information about the Digitalmars-d mailing list