Hacker News new | ask | show | jobs
by acroback 2450 days ago
It is trivial to write both of these on your own, why do we need unnecessary abstraction for such a simple task.
2 comments

Sorting, appending to a slice, or removing from the middle of a slice are all awkward and bad in Go.
That's the ethos of Go. The standard library can be poor and woefully incomplete because hey it's easy to reinvent the wheel. And then instead of composing functions (say, a reduce function applied to max to find the max of a sequence), users just end up rewriting everything because it's trivial.