Re: Package Declaration

2012-06-06 Thread Jonathan M Davis
On Wednesday, June 06, 2012 12:40:20 Namespace wrote: > And why haven't D any package System, e.g. like in Java were it > is legal to access methods or classes which are in the same > package? It _does_ have a package system. The package access level works within a package - i.e. within a folder.

Re: Package Declaration

2012-06-06 Thread Namespace
And why haven't D any package System, e.g. like in Java were it is legal to access methods or classes which are in the same package? The current module system is very nice, but it have limits.

Re: Package Declaration

2012-06-06 Thread Jonathan M Davis
On Wednesday, June 06, 2012 10:33:58 Regan Heath wrote: > I think it would be nice, and allow for most common designs to allow > package access from sub-packages to parent packages, but not the other way > round. So, sub-package "Namespace.Graphics.Foo" could access package > methods defined in pa

Re: Package Declaration

2012-06-06 Thread Regan Heath
On Tue, 05 Jun 2012 10:29:23 +0100, Jonathan M Davis wrote: On Tuesday, June 05, 2012 11:08:03 Namespace wrote: Currently i have all of my Files in the same Directory. Now i will split them up in several specific Sub-Directories, e.g. Graphics, System and so one. But i have a problem: Some F

Re: Package Declaration

2012-06-05 Thread Jonathan M Davis
On Tuesday, June 05, 2012 11:08:03 Namespace wrote: > Currently i have all of my Files in the same Directory. > Now i will split them up in several specific Sub-Directories, > e.g. Graphics, System and so one. But i have a problem: Some > Files of one Sub-Directory call methods from Files which are