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@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