[swift-evolution] Thoughts on replacing \() with $() or some other symbol

David Waite david at alkaline-solutions.com
Tue Jun 21 16:44:29 CDT 2016


If such bike-shed repainting is under serious consideration, I’d request that the tint take into account the possibility of string formatter options being desired in the future. Outside of that, I’m just as happy with the current symbol as I would be with the proposals I’ve heard so far.

-DW

> On Jun 21, 2016, at 3:03 PM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
> on Tue Jun 21 2016, Kenny Wyland <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> 
>> Hi all,
>> 
>> I'm new to the list and I just searched through the archives as best I
>> could to see if someone else had already brought this up, but I didn't find
>> anything. Forgive me if this horse has been beaten.
>> 
>> I find that typing \(var) is very disruptive to my typing flow. The more I
>> code in Swift, the more I like it, but every time I'm coding and then have
>> to hiccup while typing \ then ( causes me to be annoyed. I know, it's
>> minor, but it isn't a key combination that flows quickly.
>> 
>> I would much rather have $() or perhaps ${} (like Groovy lang) or perhaps
>> @() to go along with other uses of @ throughout the language.
>> 
>> A shifted key, like $ or @, followed by another shifted key like (, allows
>> for a much faster flow and they are much closer to the home keys than \
>> which is nearly as far from home keys as possible (and awkward).
> 
> I'm forced to agree that \ is quite awkward for something that may be
> used so pervasively, and $ would likely meet more peoples' expectations.
> 
> -- 
> Dave
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160621/97be38a9/attachment.html>


More information about the swift-evolution mailing list