[swift-evolution] ABI of throwing
david at hartbit.com
Wed Aug 10 01:54:37 CDT 2016
I laughed! I've had the same thoughts.
Sent from my iPhone
> On 10 Aug 2016, at 01:22, John McCall via swift-evolution <swift-evolution at swift.org> wrote:
> Aside: I keep running into people writing things like JSON deserializers who for some reason insist on making their lives unnecessarily difficult by manually messing around with Optional/Either results or writing their own monad + combinator libraries or what not. Folks, there's an error monad built into the language, and it is designed exactly for this kind of error-propagation problem; please just use it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution