2 ms·
So are the Java 8 changes? Java lambda functions, streams and futures look nothing at all like traditional Java methods and threads, yet you're still free to wr
by bobthepanda 3y ago
So are the Java 8 changes? Java lambda functions, streams and futures look nothing at all like traditional Java methods and threads, yet you're still free to write them, but nearly every Java Stack Overflow question has a dedicated Java 8+ answer because it is so different.
- bcrosby95 3y agoNote that Java futures are from 2004. By the time Java 8 rolled around they definitely were "traditional". But lambdas and everything coming in project amber, yeah, there will increasingly be many styles of Java out there.
- yazaddaruvala 3y ago> By the time Java 8 rolled around they definitely were "traditional". Based on my experience only once CompletableFuture was added to Java did the Future interface really start getting used in mass. Before that, there were other libs that implemented Future like things (Rx, Guava, Netty, etc) but they were not adopted across the board. The transition to Java 8 was night and day! Roughly on par with the React Hooks transition.