> Because you have a good memory and we talked exactly about that construct 
> about 6 weeks ago

Good point. I thought it was because your unique style of choosing titles.

Anyhow, iirc os.fileExists is available at compile-time but then you still need 
to duplicate the compiler's logic for quering the `--path` (if there is such a 
way).

A builtin `canImport` looks much more useful.

However, the feature itself only encourages even more fragility during a build. 
So now we can have "optional dependencies" depending on whether some other 
module is available. It's a bad idea. Either use the module or don't, don't 
"try". If the module implies a dependency so be it. Dependencies are bad, 
pretending that you don't really have them because they are optional is worse. 

Reply via email to