Le 30/03/2012 16:46, Andrei Alexandrescu a écrit :
Starting a new thread from one in announce:
http://prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP16
Please comment, after which Walter will approve. Walter's approval means
that he would approve a pull request implementing DIP16 (subject to
regular correctness checks).
Destroy!
Andrei
I was waiting for it :D
First, as all.d is already a convention in many D projects, why choose
package.d ? I understand this is a keyword, but this will also be
painfull for many developer.
Second, what the rule of a .d file and a folder existing, but in
different path (think -I switch of the compiler).
In the first place, is the module declaration really usefull ?
About the lookup rule, I understand that if I import a.b and use the
function a.b.c.foo , then i must be able to refers to it as a.b.foo, but
why a.foo ? It seems to me like going too far in the modification for no
benefit (it can only increase the number of collision, and has no
benefit I can think of).