[swift-evolution] Proposal: Make it easier to use unicode identifiers in Swift.
jordan_rose at apple.com
Fri Jan 15 17:37:27 CST 2016
Hi, Amir. What benefit does this feature have for a Swift programmer? In my mind, it makes it harder to reason about what something does, because there may now be multiple names for the same variable.
> On Jan 14, 2016, at 15:34, Amir Michail via swift-evolution <swift-evolution at swift.org> wrote:
> In particular, allow the programmer to use text instead of unicode when convenient.
> For example:
> unicodealias alpha = α
> let alpha = 5.0
> Every once in a while, the programmer could request that the IDE/editor transform the text names to their unicode counterparts as determined by unicode aliases throughout the source.
> swift-evolution mailing list
> swift-evolution at swift.org
More information about the swift-evolution