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

Issue 6909059: sort: add Reverse

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by Miek Gieben
Modified:
10 years, 10 months ago
Reviewers:
minux1, dfc, rsc, golang-dev, gri, bradfitz
CC:
golang-dev
Visibility:
Public.

Description

sort: add Reverse This CL adds a Reverse sort to the package sort. The new names are quite verbose... Fixes issue 4511

Patch Set 1 : diff -r 21d62bd46e78 https://code.google.com/p/go/ #

Total comments: 2

Patch Set 2 : code review 6909059: sort: add Reverse #

Patch Set 3 : code review 6909059: sort: add Reverse #

Unified diffs Side-by-side diffs Delta from patch set Stats (+-1 lines, --1 lines) Patch
~rietveld~placeholder~ View 1 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 19
Miek Gieben
Hello, I took a stab at adding a Reverse to the sort package.
11 years, 4 months ago (2012-12-11 15:04:24 UTC) #1
bradfitz
Last time this came up: https://codereview.appspot.com/5496059/ On Tue, Dec 11, 2012 at 10:04 AM, <remigius.gieben@gmail.com> ...
11 years, 4 months ago (2012-12-11 16:57:44 UTC) #2
rsc
I objected last time but I filed the bug this time, because I've seen it ...
11 years, 4 months ago (2012-12-11 17:00:05 UTC) #3
bradfitz
I wanted Reverse then too, so I don't object. I like the func style more, ...
11 years, 4 months ago (2012-12-11 17:06:12 UTC) #4
gri
LGTM I'm still not a big fan of this - I would probably just add ...
11 years, 4 months ago (2012-12-11 17:21:30 UTC) #5
rsc
Please use the func Reverse from the issue instead of type Reverse. It is fewer ...
11 years, 4 months ago (2012-12-11 17:22:50 UTC) #6
gri
rsc's suggestion is the better approach. Please address this as he suggested. Thanks. - gri
11 years, 4 months ago (2012-12-11 17:36:52 UTC) #7
Miek Gieben
On 2012/12/11 17:36:52, gri wrote: > rsc's suggestion is the better approach. Please address this ...
11 years, 4 months ago (2012-12-11 17:42:14 UTC) #8
gri
Issue 4511 says it all. - gri On Tue, Dec 11, 2012 at 9:42 AM, ...
11 years, 4 months ago (2012-12-11 17:44:33 UTC) #9
rsc
Note that (in golang.org/issue/4511) func Reverse returns an Interface. It does not sort.
11 years, 4 months ago (2012-12-11 17:46:24 UTC) #10
Miek Gieben
On 2012/12/11 17:46:24, rsc wrote: > Note that (in golang.org/issue/4511) func Reverse returns an > ...
11 years, 4 months ago (2012-12-11 18:08:14 UTC) #11
rsc
> 'hg mail' keeps complaining: no files changed. FWIW, hg mail CL-number.
11 years, 4 months ago (2012-12-11 18:24:31 UTC) #12
dfc
On 2012/12/11 18:24:31, rsc wrote: > > 'hg mail' keeps complaining: no files changed. > ...
11 years, 4 months ago (2012-12-15 05:09:28 UTC) #13
Miek Gieben
Ah, in the directory. Completely non-obvious for a heavy git user... On Dec 15, 2012 ...
11 years, 4 months ago (2012-12-15 07:31:14 UTC) #14
dfc
It doesn't have to be in the directory, but it does have to be within ...
11 years, 4 months ago (2012-12-15 07:34:59 UTC) #15
dfc
How are you going Miek ?
11 years, 4 months ago (2012-12-21 04:45:12 UTC) #16
Miek Gieben
I completely failed at getting hg to re-mail the files, so the (much smaller) diff ...
11 years, 4 months ago (2012-12-21 14:07:16 UTC) #17
minux1
On 2012/12/21 14:07:16, Miek Gieben wrote: > I completely failed at getting hg to re-mail ...
11 years, 4 months ago (2012-12-21 16:31:31 UTC) #18
bradfitz
10 years, 10 months ago (2013-06-05 22:21:09 UTC) #19
Sign in to reply to this message.

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