It's a little annoying though to be forced to use interface{} as type parameters for higher order list operations as there's a performance overhead when using it. Hopefully this is remedied when Go gets type generic support.
Re:Loopless Programming
by whateveracct on Tuesday October 22, 2019 @12:08PM
(#21325305)
Not to mention the complete lack of type safety (there are unsafe-style casts even in the example code.)
Here is a self-contained excerpt:
Now you can write the following: I'd say it is so elegant in Go!