confusing (buggy?) closure behaviour

bearophile bearophileHUGS at lycos.com
Sat Dec 13 12:31:19 PST 2008


Zoran Isailovski:
> I like the approach of Ada, Oberon, and (I think) Modula-3 - all of which have successfully been used for system programming - in that they allow unsafe constructs ONLY in modules specifically marked as "unsafe".<

This is already becoming true in the last version of DMD. But I don't like this solution. See the main D newsgroup, I'm about to post a note there.


> I think, providing unsafe features through clumsy syntax makes things worse, because it reduces readability where readability is most wanted - in sensible, unsafe places (think "code reviews").<

I agree. But the situation isn't that bad.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list