3 ms·
Which people like to bring up, and does make it "possible" to do this style, but takes a style I think is already crazily and uselessly verbose and makes it eve
by jerf 5y ago
Which people like to bring up, and does make it "possible" to do this style, but takes a style I think is already crazily and uselessly verbose and makes it even more verbose, especially once you take that "strconv.Atoi" and try to inline a function there, at which points the types from the earlier generic instantiation get to appear again. Hope you didn't give your types good, descriptive names!
As a potentially useful technique in the general sense it makes good sense to know. As a solution to making map & reduce practical functions to use in Go, it makes me wonder just how much crap it takes for people to notice that just because a pattern is fun to use in one language, it isn't appropriate for another. I mean, how painful does it have to be, exactly?
Also, some people just insist on chaining, which this won't enable. (At least not without even more gymnastics.)