imports like in Go. to avoid package naming collisions [feature request]

cc cc at nevernet.com
Sun Dec 25 19:37:38 UTC 2022


On Sunday, 25 December 2022 at 14:12:11 UTC, Siarhei Siamashka 
wrote:
> Why not `AnimusPEXUS.packagename`? Similar to `arsd.*`, `mir.*` 
> or some other package name prefixes. This should work fine and 
> avoid collisions until somebody intentionally hijacks your 
> package prefix name

Gives me something to think about, personally.  My nickname does 
not mean "C compiler", just in case anyone was curious, but I 
imagine that would still be a bit disorienting if I were to 
publish modules under it. 😏



More information about the Digitalmars-d mailing list