[swift-evolution] [Review] SE-0084: Allow trailing commas in parameter lists and tuples
Patrick Smith
pgwsmith at gmail.com
Wed May 11 10:35:12 CDT 2016
I’m going to propose the keyword #litter as an alias for , so I can throw garbage syntax into my code more effectively seven letters at time :P
I think this is just a choice of taste, and this is offering an additional choice. You don’t have to agree with it, you don’t have to make use of it, you don’t even have to know it’s there.
We’ve all seen and written messy code, and it wasn’t due to the punctuation. There are much more powerful weapons at hand for that.
> On 12 May 2016, at 1:25 AM, Evan Maloney via swift-evolution <swift-evolution at swift.org> wrote:
>
>
>>> It feels wrong to allow garbage syntax lying around in one's code simply for the sake of occasional convenience.
>>
>> Would you then recommend removing trailing comma support for collections on the same principle?
>
> Yes.
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160512/c44bbae0/attachment.html>
More information about the swift-evolution
mailing list