[swift-evolution] [swift-evolution-announce] [Review] SE-0099: Restructuring Condition Clauses
Chris Lattner
clattner at apple.com
Sat May 28 12:33:57 CDT 2016
> On May 28, 2016, at 10:18 AM, Matthew Johnson <matthew at anandabits.com> wrote:
>
>>>
>>> Given the whole newline groundswell that has emerged on SE, I did consider it but when I mocked up examples, it felt less readable and I suspect it would negatively affect the clarity of parsing this proposal aims to introduce.
>>>
>>> I'd really like to see a separate newline-as-separator proposal brought forward and formally reviewed. It's garnered a few very vocal supporters but it really doesn't fall under the umbrella of this proposal. I'd like the matter to be settled one way or the other for the sake of closure.
>>
>>
>> I agree that this could be positioned as a subsequent additional proposal. I’d personally be fine with looping this into the original proposal, but I’m also happy to split it out if you'd prefer Erica,
>
> If Erica isn't comfortable including it in this proposal I will be happy to drive a follow-up proposal.
>
> If we go that direction, would you want to see it focused exclusively on condition clauses or generalized to include comma separators in collection literals (and maybe argument lists?).
I’d prefer to keep it focused on guard conditions, since they seem precedented by our handling of brace statements (which is already a sequence of expressions, statements, and let decls mixed together). Collection literals seem like a separable discussion.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160528/4f6c7abd/attachment.html>
More information about the swift-evolution
mailing list