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

Issue 6442087: code review 6442087: bufio: discourage use of ReadLine (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by rsc
Modified:
11 years, 9 months ago
Reviewers:
CC:
golang-dev, iant2, r
Visibility:
Public.

Description

bufio: discourage use of ReadLine Too many people use it without reading what it does. Those people want ReadBytes or ReadString. Fixes issue 3906.

Patch Set 1 #

Patch Set 2 : diff -r 146c8378f3cc https://code.google.com/p/go/ #

Patch Set 3 : diff -r 146c8378f3cc https://code.google.com/p/go/ #

Patch Set 4 : diff -r 977ff5a061c4 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/pkg/bufio/bufio.go View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 9 months ago (2012-08-05 16:51:39 UTC) #1
iant2
LGTM On Sun, Aug 5, 2012 at 9:51 AM, <rsc@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
11 years, 9 months ago (2012-08-05 17:07:52 UTC) #2
r
LGTM
11 years, 9 months ago (2012-08-05 17:34:25 UTC) #3
rsc
11 years, 9 months ago (2012-08-05 18:32:21 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=9e2011d9ed4b ***

bufio: discourage use of ReadLine

Too many people use it without reading what it does.
Those people want ReadBytes or ReadString.

Fixes issue 3906.

R=golang-dev, iant, r
CC=golang-dev
http://codereview.appspot.com/6442087
Sign in to reply to this message.

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