News for hackers. Stuff that matters.
Re:Async/Await will make code simpler by coldtea on Monday August 21, 2017 @03:27PM (#15067064)
>So yes, it will make code easier, but I fear that will only serve to prolong the dominance of what is arguably the wrong programming model/architectural style.

Nested callbacks and even Promises are not the "right model/style" by any measure. Even 30+ year old languages had better answers to asynchronous programming than that.

Nested callbacks is so backwards its like writing in assembly. Only people whose first exposure to asynchronous programming was Node think it's a valid programming style.

Re:Async/Await will make code simpler by jMyles on Monday August 21, 2017 @03:50PM (#15067267)
> Nested callbacks is so backwards its like writing in assembly. Only people whose first exposure to asynchronous programming was Node think it's a valid programming style.

It depends on precisely what structures you include in your definition of "nested callbacks" here. I think that the callback and errback chains on the Deferred object in Twisted is basically the perfect abstraction for the flow control they represent.

Re:Async/Await will make code simpler by mpweiher on Monday August 21, 2017 @03:55PM (#15067322)
> Nested callbacks and even Promises are not the "right model/style" by any measure.

Of course not.