envy for "Writing Go Packages"

Robert Clipsham robert at octarineparrot.com
Sat May 8 14:45:29 PDT 2010


On 08/05/10 21:26, Nick Sabalausky wrote:
> I don't see what benefit having the "@remote" there provides. Why not just:
>
> import foo.bar.baz.ver1_23;
>
> dmd -R:foo.bar.baz=http://repo.example.com/tag/%VERSION%/%PACKAGE%/

Good point! Doing this means it can be done now too, no language changes 
needed (except maybe to remove the .ver1_23... how would the compiler 
know when to do this though?). Other than that, I like it!



More information about the Digitalmars-d mailing list