News for hackers. Stuff that matters.
Re:Warming up to Go by MichaelGG on Saturday September 12, 2015 @02:47PM (#10208901)
>doesn't let you do overly-clever things to save a few lines of typing

So that's what we're calling the lack of HoFs these days? It's really sad to hear that anyone considers map/fold/filter are "overly-clever".

Tim Sweeney (Epic) says[1]:

"“For” loops in Unreal:

40% are functional comprehensions

50% are functional folds"

I hardly see how changing those loops into a construct that more accurately represents them is overly-clever.

1: http://www.cs.princeton.edu/~dpw/popl/06/Tim-POPL.ppt

Re:Warming up to Go by burntsushi on Saturday September 12, 2015 @02:59PM (#10208932)
> So that's what we're calling the lack of HoFs these days?

Go has HoFs. The lack of parametric polymorphism is what prevents you from writing `map` in Go (subject to several caveats surrounding efficiency and type safety).

Re:Warming up to Go by MichaelGG on Saturday September 12, 2015 @04:16PM (#10209197)
In practise I don't find passing function parameters without generics to be very useful.