Make imports private by default

David Medlock noone at nowhere.com
Thu Apr 13 11:58:06 PDT 2006


Frank Benoit wrote:
> There was a posting of Tyro
> http://www.digitalmars.com/d/archives/digitalmars/D/11081.html
> 
> Most ppl seconded that.
> 
> The problem is, that D does not work if you use non-private imports all
> the time. Suddenly there are conflicts.
> 
> A public import make the imported module part of this modules interface.
> This can (and should) be made public explicitely.
> 

Possibly pertinent discussion on artima:

http://www.artima.com/forums/flat.jsp?forum=106&thread=147355

-DavidM



More information about the Digitalmars-d mailing list