[swift-evolution] [Review] SE-0061: Add Generic Result and Error Handling to autoreleasepool()
Michael Peternell
michael.peternell at gmx.at
Fri Apr 22 13:52:33 CDT 2016
Comments inline
> https://github.com/apple/swift-evolution/blob/master/proposals/0061-autoreleasepool-signature.md
>
> * What is your evaluation of the proposal?
A big +1 from me. It doesn't create any incompatibilities. Old code will behave the same as before. autoreleasepool works more like @autoreleasepool from Objective-C now.
>
> * Is the problem being addressed significant enough to warrant a
> change to Swift?
The problem is not very big, but since the change doesn't introduce any incompatibilities, I'd say: Yes
>
> * Does this proposal fit well with the feel and direction of
> Swift?
I think so.
>
> * If you have you used other languages or libraries with a
> similar feature, how do you feel that this proposal compares
> to those?
Well, Objective-C has the @autoreleasepool. I think the only reason why it is available in Swift too, is because Swift is normally used on top of the Objective-C runtime. Swift's autoreleasepool will behave more like the original @autoreleasepool if this proposal is implemented. Implementing the proposal feels more like a bugfix to me.
>
> * How much effort did you put into your review? A glance, a
> quick reading, or an in-depth study?
I read the proposal.
-Michael
More information about the swift-evolution
mailing list