Re:Avoiding Complexity with Go
by mike_hearn on Friday October 17, 2014 @01:08PM
(#8472010)
But do those library functions actually exist or did you write them just now?
[ Parent
| on HN ]
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.)