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

AnimusPEXUS animuspexus at protonmail.com
Sun Dec 25 15:00:17 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).

and to avoid cybersquatting on dub repo, I'd rather make and 
agreement with dub repo's owner to make 'p315cffe8' prefix locked 
to be used for my packages only.


More information about the Digitalmars-d mailing list