r/java • • Mar 09 '16

var keyword proposed for Java

http://openjdk.java.net/jeps/286
240 Upvotes

312 comments sorted by

View all comments

5

u/stepancheg Mar 09 '16

var would be a nice small addition, but are we going to have async/await anytime soon? Writing asynchronous code without some form of coroutines is pain (yes, I'm aware of quasar, which I use, although it has numerous problems).

4

u/[deleted] Mar 10 '16

[removed] — view removed comment

2

u/stepancheg Mar 10 '16

While RX have its applications, processes with complex flow and complex state are hard to express as reactive streams.