3 ms·
This is especially important when considering what you'll see in codebases. e.g. Java may be adding support for more async stuff, but most of the Java codebase
by epicide 8y ago
This is especially important when considering what you'll see in codebases.
e.g. Java may be adding support for more async stuff, but most of the Java codebases I've worked with won't use it.
- geezerjay 8y agoAsync-await is just syntactic sugar over futures/promises and java has those for decades.
- kazagistar 8y agoIt only got the promise equivalent (CompletableFuture and CompletionStage) in java8, which is hardly "decades" ago, and a lot of common stuff like JDBC doesn't support it, so using it can be quite a pain. And that's not to mention the disaster that is checked exception interoperability with the default Java functional interfaces that force constant workarounds...