is "import std;" a valid approach or a violation of the D programming language?

Berni44 someone at somemail.com
Sun May 9 20:20:15 UTC 2021


On Thursday, 6 May 2021 at 22:36:05 UTC, Dennis wrote:
> Note that it is discouraged to use outside scripts / small 
> applications, because every time a new symbol is added into 
> Phobos, there is potential it could clash with one of your own 
> symbols.

The executable is also much larger. I compared

```
import std;

void main()
{
}
```

with

```
void main()
{
}
```

2.9 MB vs 860 KB. (I wonder, what rubbish this is, that is put in 
the first executable.)


More information about the Digitalmars-d mailing list