5 ms·
> The Go standard library is full of things that do exactly what you want them to, whereas in other languages you have to manually do it yourself. Sorting a s
by pcwalton 10y ago
> The Go standard library is full of things that do exactly what you want them to, whereas in other languages you have to manually do it yourself.
Sorting a slice is a pretty obvious counterexample.
- twic 10y agoOr checking for the presence of an item in a slice. Because Go doesn't supply sets, or allow you to write them yourself, this is something i find myself needing to do a lot, and every time, i'm writing that idiotic function from scratch.