How can we make it easier to experiment with the compiler?

Walter Bright newshound2 at digitalmars.com
Mon May 24 10:15:53 UTC 2021


On 5/24/2021 2:55 AM, Alexandru Ermicioi wrote:
> It will be a huge help if they are though. At minimum it will organize the 
> things into packages that have one purpose, which will help in understanding the 
> structure of dmd, and also make navigation and search of desired functionality 
> easier, compared to one flat package.

It establishes a fake hierarchy that is *not* expressed in the code.

Poor encapsulation is the problem, and this does nothing to solve it.

> This can actually be the first step at 
> unwinding all the mess with imports you're mentioning, since packages are not 
> just folders, but logical organization of a set of modules that are somewhat 
> related to the purpose the package has.

It's backwards. Fix the rust on the car, then repaint it.


More information about the Digitalmars-d mailing list