4 comments

[ 2.4 ms ] story [ 20.8 ms ] thread
Yeah, OO interface for sort from Go's standard library is crap. But why reflect and all that magic? I was expecting something based on function literals as a decent way to sort truly arbitrary data and not break context.
Could you please get some example?