[swift-evolution] [swift-evolution-announce] [Review] SE-0099: Restructuring Condition Clauses
matthew at anandabits.com
Sat May 28 14:28:06 CDT 2016
Sent from my iPad
> On May 28, 2016, at 12:33 PM, Chris Lattner <clattner at apple.com> wrote:
>> 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.
Sounds good. Let's see what Erica says. If she doesn't want to roll it in I'll get a draft of a proposal together right away.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution