[swift-evolution] Convention to avoid conflicts with keywords

Rudolf Adamkovič salutis at me.com
Wed Dec 23 17:01:20 CST 2015


In Python, a single trailing underscore is used by convention to avoid conflicts with language keywords:

for case in cases
...

What about Swift?

Also, it would be great to document this in Swift’s API Design Guidelines.

R+

Rudolf Adamkovic



More information about the swift-evolution mailing list