https://codereview.appspot.com/118170043/diff/40001/content/methods.article File content/methods.article (right): https://codereview.appspot.com/118170043/diff/40001/content/methods.article#newcode17 content/methods.article:17: You can declare a method on _any_ named type ...
9 years, 9 months ago
(2014-07-29 21:43:04 UTC)
#2
PTAL https://codereview.appspot.com/118170043/diff/40001/content/methods.article File content/methods.article (right): https://codereview.appspot.com/118170043/diff/40001/content/methods.article#newcode17 content/methods.article:17: You can declare a method on _any_ named ...
9 years, 9 months ago
(2014-07-29 23:23:00 UTC)
#3
LGTM On Tue, Jul 29, 2014 at 5:47 PM, <adg@golang.org> wrote: > PTAL > > ...
9 years, 9 months ago
(2014-07-30 00:48:14 UTC)
#6
LGTM
On Tue, Jul 29, 2014 at 5:47 PM, <adg@golang.org> wrote:
> PTAL
>
>
>
> https://codereview.appspot.com/118170043/diff/40001/
> content/methods.article
> File content/methods.article (right):
>
> https://codereview.appspot.com/118170043/diff/40001/
> content/methods.article#newcode161
> content/methods.article:161: * Exercise: rot13 Reader
> On 2014/07/30 00:41:11, campoy wrote:
>
>> On 2014/07/29 23:22:59, adg wrote:
>> > On 2014/07/29 21:43:04, campoy wrote:
>> > > ROT13?
>> >
>> > What does ROT stand for? It's short for rotate. (I disagree with the
>>
> wikipedia
>
>> > editors about the capitalization)
>>
>
> Then either rot13Reader (as you write later) or rot13 reader. The
>>
> mixed
>
>> capitalization feels weird.
>>
>
> Done.
>
>
> https://codereview.appspot.com/118170043/diff/40001/
> content/methods/exercise-stringer.go
> File content/methods/exercise-stringer.go (right):
>
> https://codereview.appspot.com/118170043/diff/40001/
> content/methods/exercise-stringer.go#newcode10
> content/methods/exercise-stringer.go:10: for n, a := range
> map[string]IPAddr{
> On 2014/07/30 00:41:11, campoy wrote:
>
>> On 2014/07/29 23:23:00, adg wrote:
>> > On 2014/07/29 21:43:04, campoy wrote:
>> > > I'd define a map variable so the for loops is easier to
>>
> understand.
>
>> >
>> > I thought it was cute to show people they can do this.
>> > If you insist I'll revert it
>>
>
> I insist, this looks confusing.
>>
>
> Done.
>
>
> https://codereview.appspot.com/118170043/diff/60001/
> content/methods.article
> File content/methods.article (right):
>
> https://codereview.appspot.com/118170043/diff/60001/
> content/methods.article#newcode108
> content/methods.article:108: A nil `error` denotes success; a non-nil
> error denotes failure.
> On 2014/07/30 00:41:11, campoy wrote:
>
>> `error`
>>
>
> Done.
>
>
> https://codereview.appspot.com/118170043/diff/60001/
> content/methods.article#newcode137
> content/methods.article:137: which represents the read end of a stream
> of binary data.
> On 2014/07/30 00:41:11, campoy wrote:
>
>> I'd drop 'binary', all data is somehow binary anyway.
>>
>
> Done.
>
> https://codereview.appspot.com/118170043/
>
Issue 118170043: code review 118170043: go-tour: add Stringer, Reader discussions and exercises...
(Closed)
Created 9 years, 9 months ago by adg
Modified 9 years, 9 months ago
Reviewers:
Base URL:
Comments: 40