@KoryNunn @yoshuawuyts I don't find this anywhere near as readable as https://jakearchibald.com/2014/es7-async-functions/#this-time-with-es7-async-functions … - but could be taste
-
-
Replying to @jaffathecake
@jaffathecake@yoshuawuyts remembering it compares to the first example, not the second. I find the named tasks pretty easy to follow prsnly1 reply 0 retweets 0 likes -
Replying to @KoryNunn
@jaffathecake@yoshuawuyts Actually on second look, i don't find either promise versions readable. Hard to tell the intent with a skim.2 replies 0 retweets 0 likes -
Replying to @KoryNunn
@KoryNunn@yoshuawuyts which part of https://jakearchibald.com/2014/es7-async-functions/#this-time-with-es7-async-functions … do you get lost at?2 replies 0 retweets 0 likes -
Replying to @jaffathecake
@jaffathecake@yoshuawuyts Didn't get lost, just not quick to understand intent. By quick I mean a few seconds. Named tasks help IMO.1 reply 0 retweets 0 likes -
Replying to @KoryNunn
@KoryNunn@yoshuawuyts is that what the first args are in that chaining thing in your example? It's so contrived it doesn't look like JS.1 reply 0 retweets 0 likes -
Replying to @jaffathecake
@jaffathecake@yoshuawuyts lol thanks for the feedback.. signature: ('taskResultName', ['dependant', 'task', 'names'], task)1 reply 0 retweets 0 likes -
Replying to @KoryNunn
@KoryNunn@yoshuawuyts that seems a lot more complicated than await thingThatReturnsPromise();2 replies 0 retweets 0 likes -
Replying to @jaffathecake
@jaffathecake@yoshuawuyts personal pref ¯\_(ツ)_/¯. I also like a distinction between "business" errors and code errors.1 reply 0 retweets 1 like -
Replying to @KoryNunn1 reply 1 retweet 2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.