2 ms·
The standard library matters, particularly because Java doesn't let you smooth over these incompatibilities with implicits. But you're right, I should've said
by lmm 13y ago
The standard library matters, particularly because Java doesn't let you smooth over these incompatibilities with implicits.
But you're right, I should've said that the syntax (while a vast improvement over previous Java) is not as nice as for/yield, and the lack of higher-kinded types in Java means you can't write functions that handle Futures and other types with similar semantics generically.