I'm looking at the examples on
this page and so far everything looks like scheme with the verbs moved around.
The option bind example tweaked me as being really bad code. The expression
new F>() {
public Option f(final Integer i) {
if(i % 2 == 0) return some(i * 3); else return none();
}
}
is repeated thrice. Why not save
(
Read more... )