13 ms·
but java provides collect. which is, like, the right way to do it. I'm just sort of mystified that people are defending map.filter over filter.map (which isn't
by jfoutz 10y ago
but java provides collect. which is, like, the right way to do it.
I'm just sort of mystified that people are defending map.filter over filter.map (which isn't crazy, as name.isValidPerson isn't provided.) but, you know, fold is a thing.