> On Nov 14, 2017, at 19:57, Hooman Mehr <hoo...@mac.com> wrote:
> 
> You can support all styles with enum as well.

My point is precisely that perhaps we should not.

While the switch-over-result style is neither better nor worse than the 
try-catch style, having both in one body of code isn’t  pleasant. 

We can privilege the try-catch style and still get the benefits of Result.

Guillaume Lessard
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to