News for hackers. Stuff that matters.
Re:Creating the Go Programming Language [audio] by acroback on Sunday September 29, 2019 @09:28PM (#21110975)
It is trivial to write both of these on your own, why do we need unnecessary abstraction for such a simple task.
Re:Creating the Go Programming Language [audio] by millstone on Sunday September 29, 2019 @09:47PM (#21111065)
Sorting, appending to a slice, or removing from the middle of a slice are all awkward and bad in Go.
Re:Creating the Go Programming Language [audio] by kccqzy on Monday September 30, 2019 @03:23AM (#21112533)
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.