Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5847)

Issue 117840043: code review 117840043: go-tour: add discussion of pointers and some small tweaks (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by adg
Modified:
9 years, 9 months ago
Reviewers:
campoy
CC:
campoy, golang-codereviews
Visibility:
Public.

Description

go-tour: add discussion of pointers and some small tweaks - Mention Sprint instead of Print when discussing recursive stringers. - Remove discussion of the "new" function; it's rarely used today. - Better hint in the cube root exercise (Who knows the cube root of 2?). - Use v to refer to Vertex and p to refer to a pointer.

Patch Set 1 #

Total comments: 12

Patch Set 2 : diff -r 75dda8d5bf79 https://code.google.com/p/go-tour #

Patch Set 3 : diff -r 75dda8d5bf79 https://code.google.com/p/go-tour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -54 lines) Patch
M content/methods.article View 2 chunks +2 lines, -2 lines 0 comments Download
M content/moretypes.article View 1 6 chunks +33 lines, -20 lines 0 comments Download
M content/prog/tour/exercise-errors.go View 1 chunk +1 line, -1 line 0 comments Download
M content/prog/tour/pointers.go View 1 chunk +11 lines, -10 lines 0 comments Download
M content/prog/tour/struct-literals.go View 1 1 chunk +5 lines, -5 lines 0 comments Download
A content/prog/tour/struct-pointers.go View 1 chunk +17 lines, -0 lines 0 comments Download
R content/prog/tour/the-new-function.go View 1 chunk +0 lines, -16 lines 0 comments Download

Messages

Total messages: 5
adg
Hello campoy (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go-tour
9 years, 9 months ago (2014-07-16 10:25:42 UTC) #1
campoy
https://codereview.appspot.com/117840043/diff/1/content/moretypes.article File content/moretypes.article (right): https://codereview.appspot.com/117840043/diff/1/content/moretypes.article#newcode16 content/moretypes.article:16: The prefix `&` returns a pointer to a variable. ...
9 years, 9 months ago (2014-07-16 18:06:34 UTC) #2
adg
https://codereview.appspot.com/117840043/diff/1/content/moretypes.article File content/moretypes.article (right): https://codereview.appspot.com/117840043/diff/1/content/moretypes.article#newcode16 content/moretypes.article:16: The prefix `&` returns a pointer to a variable. ...
9 years, 9 months ago (2014-07-16 23:57:29 UTC) #3
campoy
On 2014/07/16 23:57:29, adg wrote: > https://codereview.appspot.com/117840043/diff/1/content/moretypes.article > File content/moretypes.article (right): > > https://codereview.appspot.com/117840043/diff/1/content/moretypes.article#newcode16 > ...
9 years, 9 months ago (2014-07-17 01:42:21 UTC) #4
adg
9 years, 9 months ago (2014-07-17 01:43:25 UTC) #5
*** Submitted as https://code.google.com/p/go-tour/source/detail?r=05ecf5d65670
***

go-tour: add discussion of pointers and some small tweaks

- Mention Sprint instead of Print when discussing recursive stringers.
- Remove discussion of the "new" function; it's rarely used today.
- Better hint in the cube root exercise (Who knows the cube root of 2?).
- Use v to refer to Vertex and p to refer to a pointer.

LGTM=campoy
R=campoy
CC=golang-codereviews
https://codereview.appspot.com/117840043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b