who the hell added lambdas to Java but didn't add map/reduce… pump.strugee.net/alex/note/N…
2
2
I wish. Certainly there aren't instance methods on e.g. ArrayList.
1
Replying to @strugee2
Bummer :( Can you do anything akin to patching a class in Java?

Mar 18, 2018 Β· 2:13 PM UTC

1
1
Replying to @dsilverstone
no, Java's truly classical (which I believe is the opposite of prototypal?) Classes aren't live objects. They're a syntax construction only :/
1
Aah, fair enough. So you'd need to develop a wrapper class, or else a class of 'Functools' full of static methods I guess
1
1