First time reading about the `await? foo()` variant. That's not terrible. Having the choice between that and `await foo()?` seems pretty good. Slight preference towards the latter, but I'd be good with either version tbh.
-
-
Haha, okay yeah I think it's becoming time I write a blog post :p
-
Sorry, realizing this feels a bit like I'm dodging. I mean: you make interesting points that I don't necessarily agree with, but would like to engage with properly, but it's a Sunday so not today? Haha, hope that makes sense?
- 2 more replies
New conversation -
-
-
I used to dislike await? because it looks like a use of ? unlike any other, until I started looking at it as a single operation called await-and-try, kind of like a shorthand for await_and_try!(foo). Then it grew on me.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.