Hacker News new | ask | show | jobs
by mike_hearn 4258 days ago
But do those library functions actually exist or did you write them just now?
1 comments

I wrote SortBy, but it was trivial, and you'd only have to do it once.

(The bigger issue is probably in Go you'd rather just have the boiler-plate than using []interface{}. But that's what you're essentially doing in a dynamic language like Python, and you can do it in Go, too, if you want.)