Hello Swift Community,
We are starting a review for an amendment to the accepted proposal SE-0296 "async/await". The review runs from now through June 28, 2021.
The initial pitch of async/await included the ability to overload async
and non-async
functions, e.g.,
func doSomething() -> String { /* ... */ } // synchronous, blocking
func doSomething() async -> String { /* ... */ } // asynchronous
// error: redeclaration of function `doSomething()`.
Based on the discussion of the first pitch, this ability was removed from the proposal. However, experience augmenting existing Swift libraries with async/await functionality has demonstrated that this overloading might be useful, so we would like to reconsider the limitation.
Reviews are an important part of the Swift evolution process. All review feedback should be either on this forum thread or, if you would like to keep your feedback private, directly to the review manager. If you do email me directly, please put "SE-00296" somewhere in the subject line.
What goes into a review?
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of Swift. When writing your review, here are some questions you might want to answer in your review:
- What is your evaluation of the proposal?
- Is the problem being addressed significant enough to warrant a change to Swift?
- Does this proposal fit well with the feel and direction of Swift?
- If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
- How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
More information about the Swift evolution process is available at:
swift-evolution/process.md at master ¡ apple/swift-evolution ¡ GitHub
Thank you for participating in improving Swift!
Doug Gregor
Review Manager