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

AnimusPEXUS animuspexus at protonmail.com
Sun Dec 25 14:53:23 UTC 2022


On Sunday, 25 December 2022 at 14:12:11 UTC, Siarhei Siamashka 
wrote:
> On Sunday, 25 December 2022 at 13:13:25 UTC, AnimusPEXUS 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 (but in this case p315cffe8 won't save you 
> either).

because 315CFFE8 covers whole 'github.com/AnimusPEXUS' which is 
less likely will change soon. and AnimusPEXUS doesn't (and 
shouldn't) mean anything to anybody on it's own.


More information about the Digitalmars-d mailing list