I suggets to revert all unnecessary type annotations. Most of these could be handled w/ ...
13 years, 5 months ago
(2012-01-24 03:33:12 UTC)
#4
I suggets to revert all unnecessary type annotations.
Most of these could be handled w/ a little bit of "cheap type checking" in the
existing tools, for instance gofix does some of this.
I agree w/ Rob that we shouldn't pollute our sources this way.
The ErrX rename is fine.
On 2012/01/24 03:33:12, gri wrote: > I suggets to revert all unnecessary type annotations. > ...
13 years, 5 months ago
(2012-01-24 11:43:39 UTC)
#5
On 2012/01/24 03:33:12, gri wrote:
> I suggets to revert all unnecessary type annotations.
>
> Most of these could be handled w/ a little bit of "cheap type checking" in the
> existing tools, for instance gofix does some of this.
>
> I agree w/ Rob that we shouldn't pollute our sources this way.
>
> The ErrX rename is fine.
i like the explicit types on the error values too - it means one can do, say:
err := errors.ErrKeyIncorrect and err would be of type error, not of an
inconvenient unexported type.
Issue 5564048: code review 5564048: doc: add explicit types for godoc & API checker tool
(Closed)
Created 13 years, 5 months ago by bradfitz
Modified 13 years, 5 months ago
Reviewers:
Base URL:
Comments: 0