[Issue 12314] Allow Duplicate Renamed Imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 7 13:26:23 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12314



--- Comment #4 from Jeroen Bollen <jbinero at gmail.com> 2014-03-07 13:26:21 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > The main advantage is that when you have libraries like the GtkD which I used
> > in the first post, you can put them all in one namespace. 
> > 
> > This way you don't get the redundancy of specifying the exact module name for
> > every call to a function, but you still keep your code clean and maintainable
> > by specifying what library a certain class/struct/object belongs to.
> 
> What are the disadvantages?

I can't really think of any. Obviously it can cause conflicts if you have two
matching symbols and you put them in the same module/namespace; but conflicts
are already possible as-is, and should be avoided.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list