3 ms·
Reverse isn't exactly obscure. Even Go's standard library has: `sort.Rerverse(a)`
by randomdata 10y ago
Reverse isn't exactly obscure. Even Go's standard library has: `sort.Rerverse(a)`
- oconnor663 10y agoAgreed. Though to clarify, sort.Reverse() gives you "reverse sorted order" rather than "reverse current order".