Hacker News new | ask | show | jobs
by EvenThisAcronym 2533 days ago
> This is different from being able to walk a directory and read random files.

D doesn't allow you to do that either. You have to specify what files you are importing via a compiler switch: https://dlang.org/spec/expression.html#import_expressions

1 comments

Yes. That's another barrier I put in to prevent a carefully crafted source code from being a malware vector.