[Issue 12314] Allow Duplicate Renamed Imports

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


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



--- Comment #2 from Jeroen Bollen <jbinero at gmail.com> 2014-03-07 13:10:07 PST ---
(In reply to comment #1)
> Please list what are the advantages an disadvantages of this proposal. (At
> first sight I don't like it, but perhaps I am wrong).

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.

-- 
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