"bearophile" <[email protected]> wrote in message news:[email protected]... > Nick Sabalausky: > >> // Vastly superior alternative to "import foolib.*;" which D >> // (fortunately) doesn't even have anyway. >> module foolib.all; > > What's vastly superior in it? Its unformalized nature? >
In Java circles, and probably some others too, "import foo.*;" is widely considered bad practice. They have a number of reasons for avoiding its use. I don't mean to avoid mentioning them, but I don't have much time ATM, I'm sure you can easily google it though. But basically, there are known problems with it, and those problems are mitigated by using the "import foo.all;" idiom.
