How can we make it easier to experiment with the compiler?
poffer
poffer at poffer.net
Mon May 24 10:18:00 UTC 2021
On Monday, 24 May 2021 at 09:41:12 UTC, Walter Bright wrote:
> On 5/24/2021 1:40 AM, poffer wrote:
>> A good enhancement to the language would be adding some sort
>> of module declaration that just states the admitted import
>> packages or modules. I know that could be done by an external
>> tool, but I feel that this one is a common problem.
>
> Importing unused modules is a problem, but a minor one. The
> larger problem is needing those modules.
No. What I mean is a declaration that for example, allows only
import from dmd in dmd/backend, of declare that imports from
dmd/root are forbidden. Aren't you the guy pushing from
declarations over conventions? Conventions do not scale.
More information about the Digitalmars-d
mailing list