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

Issue 12636043: code review 12636043: go.talks: bestpractices: adding compelling example for ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by francesc
Modified:
10 years, 8 months ago
Reviewers:
adg
CC:
adg, r, kortschak, ioe, golang-dev
Visibility:
Public.

Description

go.talks: bestpractices: adding compelling example for error handling.

Patch Set 1 #

Patch Set 2 : diff -r 7ac72015044b https://code.google.com/p/go.talks #

Patch Set 3 : diff -r 7ac72015044b https://code.google.com/p/go.talks #

Patch Set 4 : diff -r 7ac72015044b https://code.google.com/p/go.talks #

Total comments: 8

Patch Set 5 : diff -r 7ac72015044b https://code.google.com/p/go.talks #

Total comments: 18

Patch Set 6 : diff -r 5a540a4c44d5 https://code.google.com/p/go.talks #

Total comments: 12

Patch Set 7 : diff -r 52aa98a44b8c https://code.google.com/p/go.talks #

Total comments: 4

Patch Set 8 : diff -r 52aa98a44b8c https://code.google.com/p/go.talks #

Patch Set 9 : diff -r 52aa98a44b8c https://code.google.com/p/go.talks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -128 lines) Patch
M 2013/bestpractices.slide View 1 2 3 4 5 3 chunks +30 lines, -12 lines 0 comments Download
M 2013/bestpractices/shortercode1.go View 1 2 3 4 5 6 7 1 chunk +26 lines, -26 lines 0 comments Download
M 2013/bestpractices/shortercode2.go View 1 2 3 4 5 6 7 1 chunk +16 lines, -21 lines 0 comments Download
M 2013/bestpractices/shortercode3.go View 1 2 3 4 5 6 7 1 chunk +15 lines, -22 lines 0 comments Download
M 2013/bestpractices/shortercode4.go View 1 2 3 4 5 6 7 1 chunk +20 lines, -23 lines 0 comments Download
M 2013/bestpractices/shortercode5.go View 1 2 3 4 5 6 7 1 chunk +20 lines, -24 lines 0 comments Download
A 2013/bestpractices/shortercode6.go View 1 2 3 4 5 6 7 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 14
francesc
Hello adg@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.talks
10 years, 8 months ago (2013-08-08 00:22:25 UTC) #1
r
https://codereview.appspot.com/12636043/diff/9001/2013/bestpractices.slide File 2013/bestpractices.slide (right): https://codereview.appspot.com/12636043/diff/9001/2013/bestpractices.slide#newcode55 2013/bestpractices.slide:55: * Atomic writing the title is wrong; the writes ...
10 years, 8 months ago (2013-08-08 00:41:39 UTC) #2
kortschak
On 2013/08/08 00:41:39, r wrote: > https://codereview.appspot.com/12636043/diff/9001/2013/bestpractices/shortercode6.go#newcode70 > 2013/bestpractices/shortercode6.go:70: Age: 3383, > is this accurate? ...
10 years, 8 months ago (2013-08-08 00:52:15 UTC) #3
francesc
https://codereview.appspot.com/12636043/diff/9001/2013/bestpractices.slide File 2013/bestpractices.slide (right): https://codereview.appspot.com/12636043/diff/9001/2013/bestpractices.slide#newcode55 2013/bestpractices.slide:55: * Atomic writing On 2013/08/08 00:41:39, r wrote: > ...
10 years, 8 months ago (2013-08-08 04:21:51 UTC) #4
r
https://codereview.appspot.com/12636043/diff/15001/2013/bestpractices/shortercode6.go File 2013/bestpractices/shortercode6.go (right): https://codereview.appspot.com/12636043/diff/15001/2013/bestpractices/shortercode6.go#newcode48 2013/bestpractices/shortercode6.go:48: func (w *binWriter) Close() error { this is Flush, ...
10 years, 8 months ago (2013-08-08 04:39:17 UTC) #5
ioe
Please note that the bug(?) noticed is already introduced between shortercode2.go and shortercode3.go and I ...
10 years, 8 months ago (2013-08-08 14:46:31 UTC) #6
adg
https://codereview.appspot.com/12636043/diff/15001/2013/bestpractices/shortercode6.go File 2013/bestpractices/shortercode6.go (right): https://codereview.appspot.com/12636043/diff/15001/2013/bestpractices/shortercode6.go#newcode1 2013/bestpractices/shortercode6.go:1: // +build ignore,OMIT +build OMIT will suffice https://codereview.appspot.com/12636043/diff/15001/2013/bestpractices/shortercode6.go#newcode14 2013/bestpractices/shortercode6.go:14: ...
10 years, 8 months ago (2013-08-12 01:21:36 UTC) #7
francesc
Implementing WriterTo made the case for code simplification even better IMHO. Will clean out the ...
10 years, 8 months ago (2013-08-12 23:50:25 UTC) #8
adg
https://codereview.appspot.com/12636043/diff/15001/2013/bestpractices/shortercode6.go File 2013/bestpractices/shortercode6.go (right): https://codereview.appspot.com/12636043/diff/15001/2013/bestpractices/shortercode6.go#newcode1 2013/bestpractices/shortercode6.go:1: // +build ignore,OMIT On 2013/08/12 23:50:25, gocampoy wrote: > ...
10 years, 8 months ago (2013-08-13 03:30:57 UTC) #9
francesc
PTAL https://codereview.appspot.com/12636043/diff/22001/2013/bestpractices/shortercode1.go File 2013/bestpractices/shortercode1.go (right): https://codereview.appspot.com/12636043/diff/22001/2013/bestpractices/shortercode1.go#newcode14 2013/bestpractices/shortercode1.go:14: AgeYears int64 On 2013/08/13 03:30:58, adg wrote: > ...
10 years, 8 months ago (2013-08-15 18:50:41 UTC) #10
adg
https://codereview.appspot.com/12636043/diff/33001/2013/bestpractices/shortercode1.go File 2013/bestpractices/shortercode1.go (right): https://codereview.appspot.com/12636043/diff/33001/2013/bestpractices/shortercode1.go#newcode38 2013/bestpractices/shortercode1.go:38: var g io.WriterTo = &Gopher{ this is a weird ...
10 years, 8 months ago (2013-08-16 03:17:52 UTC) #11
francesc
PTAL https://codereview.appspot.com/12636043/diff/33001/2013/bestpractices/shortercode1.go File 2013/bestpractices/shortercode1.go (right): https://codereview.appspot.com/12636043/diff/33001/2013/bestpractices/shortercode1.go#newcode38 2013/bestpractices/shortercode1.go:38: var g io.WriterTo = &Gopher{ On 2013/08/16 03:17:52, ...
10 years, 8 months ago (2013-08-16 06:14:38 UTC) #12
adg
LGTM
10 years, 8 months ago (2013-08-19 03:47:53 UTC) #13
francesc
10 years, 8 months ago (2013-08-19 23:16:08 UTC) #14
*** Submitted as
https://code.google.com/p/go/source/detail?r=f3ece4b38f43&repo=talks ***

go.talks: bestpractices: adding compelling example for error handling.

R=adg, r, dan.kortschak, nightlyone
CC=golang-dev
https://codereview.appspot.com/12636043
Sign in to reply to this message.

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