Problem with imports in class hierarchy

Gökhan Akbaba protez at hotmail.com
Thu Aug 24 16:59:01 UTC 2023


On Thursday, 28 April 2005 at 02:36:54 UTC, Jarrett Billingsley 
wrote:
> "Marco Falda" <Marco_member at pathlink.com> wrote in message 
> news:d4nime$j36$1 at digitaldaemon.com...
>> I am wondering however why it is not possible to import module 
>> A through
>> module
>> A1 in A11 by using a simple "import A" (in A1).
>
> You can, but it's bad practice.  Whenever making modules that 
> will be imported, always use private import to import other 
> modules into them. Otherwise, it's very easy to pollute the 
> namespace with names you don't need.



şurdaki oyunda okey oyna oyunu : https://www.okeydeyim.com.tr/


More information about the Digitalmars-d-learn mailing list