Swift uses backticks: for `case` in cases

Additionally, you can use (almost) any character inside backticks, including 
operator characters.

Félix

> Le 23 déc. 2015 à 18:01:20, Rudolf Adamkovič via swift-evolution 
> <[email protected]> a écrit :
> 
> 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
> 
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to