Tho if the former passes I sincerely hope nobody writes code like this: let res = await? foo()?; Figuring out what's going on there might take a while. Naming things might be hard, but remembering operator precedence can be harder.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The second one is ambiguous though if foo is a result. Do I unwrap the value or is it await for the value? I prefer await? if we had to choose one or the other but I don't like that either....
-
Heh, what you think of this?https://twitter.com/yoshuawuyts/status/1086845247974502400?s=19 …
- 3 more replies
New conversation -
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.