Import status

Lucas Goss lgoss007 at gmail.com
Wed Jul 12 07:28:19 PDT 2006


Lucas Goss wrote:
> solutions:
> 
> -prefix-importing proposed (import std.string alias str)
>   -tries to solve problem of name collisions
> 
> -private invisible (not visible to importing modules)
>   -tries to solve problem of name collisions by hiding modules
>   -tries to make private more intuitive
> 
> -private by default
>   -tries to solve the problem of name collisions
>   -tries to solve the problem of default gotchas
> 

I like these three. The visible private makes no sense and like someone 
else said, "is evil". And private by default along with prefix-importing 
seems to solve maintainability problems as well as being simple.

Lucas



More information about the Digitalmars-d mailing list