Hey #cpp, how would you refactor the code in the picture without changing its behavior?pic.twitter.com/1t982nmEsB
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
There is no such thing as a compiler or type system that knows if you forgot to check for an optional error. If the error is not optional, then why are you even talking about propagating it?
It wasn't clear that your original statement was about "optional errors", it sounded like you never use return values for errors generally, which I would think it is not a good idea. For an error which is "optional" I'd still value the interface of the function telling me...
...that something I might want to look at is going to be returned, rather than relying on some stateful variable being mutated. And of course, there's always `[[nodiscard]]` for more important cases.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.