News for hackers. Stuff that matters.
Re:Eight years of Go by erik_seaberg on Friday November 10, 2017 @04:26PM (#15673192)
I'd rather read x.filter().map() than read the loops someone had to expand them into by hand.
Re:Eight years of Go by ryanplant-au on Friday November 10, 2017 @05:22PM (#15673569)
I groan every time I have to implement the 15th type-specific loop implementation of what I'd do with a single map or fold in Ruby/Elm/Haskell/JS/TS/Crystal/every other language I use. It's not a lot of effort but it's a lot of mess and cruft.
Re:Eight years of Go by cube2222 on Friday November 10, 2017 @06:59PM (#15674133)
Check out goderive
Re:Eight years of Go by z0r on Friday November 10, 2017 @11:01PM (#15674935)
linking this for you: https://github.com/awalterschulze/goderive

i wish i could laugh, but i can't. the lengths people will go to work within such an impoverished language, and by means so antithetical to the go philosophy.