News for hackers. Stuff that matters.
Re:Async/Await will make code simpler by jdmichal on Monday August 21, 2017 @02:21PM (#15066487)
Maybe promises come before async/await, in an evolutionary sense. Same way that for-each loops seem to precede generators / yield. C# added Task before the syntax sugar of async/await. Java currently has Future, and I expect async/await to finally show up in about 10 years time...
Re:Async/Await will make code simpler by oaiey on Monday August 21, 2017 @02:24PM (#15066504)
Just wanted to write that ;). Despite being C# developer and often smiling at the state of the Java language, I think Java will get async/await faster than in 10 years. I am more optimistic about it.
Re:Async/Await will make code simpler by he0001 on Tuesday August 22, 2017 @01:46AM (#15070026)
No! Async/await is a horrible construct. Keep it away from Java.