[swift-evolution] Proposal: Contiguous Variables (A.K.A. Fixed Sized Array Type)
davesweeris at mac.com
Mon Feb 1 22:19:30 CST 2016
I can’t speak for everyone else, but I’ve been using it as a stand-in for “whatever”. I think × and x are different enough (at least in Xcode’s default Menlo and, my current favorite, Fira Mono), but I don’t think × is anywhere of the normal keyboard layout. I know it wouldn’t be hard for Apple to have a custom keyboard layout with a bunch of math symbols on the alt layer, but I don’t know how to handle it for other editors.
It’s too bad, really… Not for × in particular, but abstract / math code in general would be a lot more readable if people had easy access the various operators and set notation symbols.
- Dave Sweeris
> On Feb 1, 2016, at 17:31, Matt Whiteside via swift-evolution <swift-evolution at swift.org> wrote:
> Have people on this thread been suggesting the letter ‘x’ literally for the operator, or was that meant as a shortcut/standin for the unicode cross operator: ×
> Or maybe they are so similar that neither would be a good keyword…
>> On Feb 1, 2016, at 12:43, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
>>> On Feb 1, 2016, at 8:42 AM, John Randolph via swift-evolution <swift-evolution at swift.org> wrote:
>>>> On Jan 29, 2016, at 2:40 AM, Tino Heth via swift-evolution <swift-evolution at swift.org> wrote:
>>>> am I the only one who get creeps because of that "x" in the declaration? I
>>> I really don’t like the x as an operator either, because I use x for so many other things in my code.
>> I agree that it wouldn’t be acceptable to take x as a keyword.
>> swift-evolution mailing list
>> swift-evolution at swift.org
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution