Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

LOL@PYTHON

Name: diskobot 2013-06-06 6:07

they removed fold/reduce from python. lol @ noob imperative programmers c:

http://www.artima.com/forums/flat.jsp?forum=106&thread=98196

Name: Anonymous 2013-06-06 7:57

So now reduce(). This is actually the one I've always hated most, because, apart from a few examples involving + or *, almost every time I see a reduce() call with a non-trivial function argument, I need to grab pen and paper to diagram what's actually being fed into that function before I understand what the reduce() is supposed to do. So in my mind, the applicability of reduce() is pretty much limited to associative operators, and in all other cases it's better to write out the accumulation loop explicitly.
Why would you use a language written by a toilet scrubber?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List