3 ms·
The Java 1 example uses lambdas, which were introduced in Java 8. It’s probably intentional, because it allows showing the Java 1 Thread approach succinctly.
by stevoski 1y ago
The Java 1 example uses lambdas, which were introduced in Java 8.
It’s probably intentional, because it allows showing the Java 1 Thread approach succinctly.
But as long-term Java person, I find it jarring.