News for hackers. Stuff that matters.
Re:Side Effects vs. Promises by fiatjaf on Sunday October 04, 2015 @12:03PM (#10327866)
Are you sure promises have lost to async? This is a crazy statement.
Re:Side Effects vs. Promises by agumonkey on Sunday October 04, 2015 @12:07PM (#10327880)
I have no data, but ES7 plans to support async/await, and Python 3.5 just shipped with it. I find it a strong signal already.
Re:Side Effects vs. Promises by aikah on Sunday October 04, 2015 @12:14PM (#10327904)
> I have no data, but ES7 plans to support async/await, and Python 3.5 just shipped with it. I find it a strong signal already.

we're mixing up 2 different things here, the async package and the C# like async/await feature native to javascript. The async package while popular is certainly not more popular than promises.

Re:Side Effects vs. Promises by lemevi on Sunday October 04, 2015 @12:24PM (#10327938)
> I find it a strong signal already.

Well cancel your signal because native browser APIs are returning promises:

https://developer.mozilla.org/en-US/docs/Web/API/MediaDevice...

Re:Side Effects vs. Promises by agumonkey on Sunday October 04, 2015 @01:35PM (#10328132)
Confusing mixed signals then.
Re:Side Effects vs. Promises by phpnode on Sunday October 04, 2015 @01:50PM (#10328179)
async/await is powered by promises, it's crazy to say that promises are going away, they're becoming an even more fundamental construct in the language.