On Wed, Jul 2, 2014 at 12:09 PM, Russ Cox <
r...@golang.org> wrote:
> On Wed, Jul 2, 2014 at 10:43 AM, Gustavo Niemeyer <
gus...@niemeyer.net>
> wrote:
>>
>> 1. Can we introduce support for //go:build, with the hope of
>> obsoleting +build at some future release (even if it is Go2)? The
>> implementation cost of doing so is minimal.
>
> No. This is exactly what I replied to in the previous thread.
Your argument there is that it has "real costs and no real advantage",
so I'm trying to understand it. Supporting an alternative standard
spelling is very cheap, enables people to use and encourage the better
convention by choice, and we can easily tweak gofmt to reformat +build
as go:build appropriately (I can contribute the code for both). We
don't need to drop the old format anytime soon, as it's so cheap, but
I bet we'd soon see it pretty much unused just out of choice.
>> 2. Can we use //go:import for the special tag being proposed for
>> defining the import path?
>
> Maybe. David Symonds made that comment in the proposal thread. I haven't
> thought about it yet.
Okay, thanks for considering.
gustavo @
http://niemeyer.net