TIL: use `expect("message")` instead of `unwrap()` to error with a custom message in @rustlang
brb never using unwrap again
-
-
This Tweet is unavailable.
-
Replying to @carols11cents @ag_dubs
For real. It's establishing poor habits for a unique Rust idiom. It's not a generic programming thing we expect people to know better on.
1 reply 0 retweets 0 likes -
what are you talking about, everyone already knows this idiom from Swift, the world's most popular programming language.
1 reply 0 retweets 1 like -
1 reply 0 retweets 7 likes -
It took me a minute to remember what this was from; brief moment of "jesus why do you have these notes"
1 reply 0 retweets 2 likes
We keep very detailed files; that's just good business sense.
12:44 PM - 25 Apr 2017
0 replies
0 retweets
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.