Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for the cmp::Reverse type #40893
Comments
BurntSushi
added
B-unstable
T-libs
labels
Mar 29, 2017
This comment has been minimized.
This comment has been minimized.
|
@rfcbot fcp merge Seems like a nifty feature to stabilize! |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
May 11, 2017
•
|
Team member @alexcrichton has proposed to merge this. The next step is review by the rest of the tagged teams: Concerns:
Once these reviewers reach consensus, this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
This comment has been minimized.
This comment has been minimized.
|
I think a wrapper type makes sense by analogy with Elsewhere in std we call this "rev" instead of "reverse". I see the @rfcbot concern rev |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Well shucks. Comparing by conceptual similarity, I think this feature has more in common with FWIW I think |
This comment has been minimized.
This comment has been minimized.
Me too. Given we already have the inconsistency, I think that pushes me toward |
This comment has been minimized.
This comment has been minimized.
|
With a clean slate, would we call them
|
This comment has been minimized.
This comment has been minimized.
|
I feel like we discussed |
This comment has been minimized.
This comment has been minimized.
|
FWIW the Python model has traditionally been "short names for modules" and "long descriptive names for methods" which is also what seems to be followed generally in Rust now. It does feel like |
This comment has been minimized.
This comment has been minimized.
|
Reverse is a better name. @rfcbot resolved rev |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
May 23, 2017
|
|
rfcbot
added
the
final-comment-period
label
May 23, 2017
This comment has been minimized.
This comment has been minimized.
|
There's also the |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Jun 2, 2017
|
The final comment period is now complete. |
mitsuhiko commentedMar 29, 2017
Added in #40720 under the
reverse_cmp_keyfeature flag.