News for hackers. Stuff that matters.
Re:Understanding map, filter, and fold by ollysb on Wednesday December 26, 2012 @12:46AM (#4968317)
Yeah, I actually wrote some similar functions for java when I first started experimenting with ruby on the side. I agree it's a big improvement on for loops but there's still a lot of line noise; the anonymous class(as you mention) and having to passing the collection into a static method which is never great. Importing Collections2 statically does make it a bit more pleasant though.

There are no comments on this comment yet.