Introducing alid

Ali Çehreli acehreli at yahoo.com
Thu Sep 15 14:29:23 UTC 2022


On 9/15/22 02:18, Salih Dincer wrote:
> On Thursday, 15 September 2022 at 02:30:43 UTC, Ali Çehreli wrote:
>> On 9/14/22 12:08, Ali Çehreli wrote:
>>   import alid;      // WRONG - Could not make it work
>>   import alid.alid; // Worked with package.d file
> 
> What's objection with combining all the code in the package into one 
> module?
> 
> SDB at 79

As a general principal, we don't want to include more than necessary. 
One reason can be compilation speed and binary size: 'import std;' 
compiles slow and (likely) adds and initializes module variable my 
program does not need.

Ali


More information about the Digitalmars-d-announce mailing list