[swift-evolution] [Review] SE-0056: Allow trailing closures in `guard` conditions
Shawn Erickson
shawnce at gmail.com
Fri Apr 1 17:12:14 CDT 2016
On Thu, Mar 31, 2016 at 8:27 PM Douglas Gregor via swift-evolution <
swift-evolution at swift.org> wrote:
> Hello Swift community,
>
> The review of SE-0056 "Allow trailing closures in `guard` conditions"
> begins now and runs through April 5, 2016. The proposal is available here:
>
>
> https://github.com/apple/swift-evolution/blob/master/proposals/0056-trailing-closures-in-guard.md
>
>
> - What is your evaluation of the proposal?
>
> +1 for improving guard. As noted it does leverage an existing
inconsistency between guard and if/while/switch (e.g. else) so it isn't
really make things that more inconsistent. The use of else in guard exist
for good reasons.
>
> - Is the problem being addressed significant enough to warrant a
> change to Swift?
>
> It is close in my book.
>
> - Does this proposal fit well with the feel and direction of Swift?
>
> I think so. I would like to see the modification of if/while/switch as
outlined in the alternates section to be more fully evaluated. It would
empower those constructs and bring things back into alignment.
>
> - If you have used other languages or libraries with a similar
> feature, how do you feel that this proposal compares to those?
>
> N/A
>
> - How much effort did you put into your review? A glance, a quick
> reading, or an in-depth study?
>
> Fully read the proposal and followed the discussion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160401/5adb282d/attachment.html>
More information about the swift-evolution
mailing list