logoalt Hacker News

pkolaczktoday at 8:21 AM1 replyview on HN

Threads are neither better or worse than async+callbacks. They are different. There are problems which map nicely to threads and there are problems which are much nicer to express with async.


Replies

groundzeros2015today at 8:22 AM

Such as? The entire premise of async is that callbacks were a mistake because they broke sequential reasoning and control.

Every explanation of the feature starts with managing callback hell.

show 2 replies