Comment

Comment by airspeedswift

You can read about the trade-offs in the language proposal here: https://github.com/swiftlang/swift-evolution/blob/main/propo...

In particular:

> Even with the introduction of typed throws into Swift, the existing (untyped) throws remains the better default error-handling mechanism for most Swift code. The section "When to use typed throws" describes the circumstances in which typed throws should be used.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton