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

Berni44 someone at somemail.com
Fri May 7 05:56:09 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.

I recently forgot to define a variable called `name` while using 
`import std`. It still compiled, but I was a little bit surprised 
by the result. (Can you guess what I got?)




More information about the Digitalmars-d mailing list