Explain the Modules to me but better...

bachmeier via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 29 11:01:19 PST 2016


On Thursday, 29 December 2016 at 18:20:22 UTC, Modules Confuse Me 
wrote:

> I'm really getting hung up on a simple thing, such as how to 
> structure my program in the 'D' way. So correct me if I am 
> wrong. In my packages, I should be using 'public' imports 
> correct? So that the imports get forwarded. I'm looking through 
> phobos, to try to get a good idea of how others do it, and I 
> don't see myself doing things too differently...

I don't use packages, but there are quite a few examples on 
code.dlang.org. Here's a random one that I selected:
https://github.com/kotet/progress/tree/master/source/progress


More information about the Digitalmars-d-learn mailing list