<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Aug 31, 2017, at 3:16 PM, Taylor Swift via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><div class=""><div dir="ltr" class="">Where is the source for this number? XCode is not even available for Linux. And XCode’s market share is only shrinking as Swift expands more into the open source world. To make Swift depend on proprietary XCode features would nullify all of the work that has been done in the past 2 years to bring Swift to Linux platforms.<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Aug 31, 2017 at 12:44 PM, John Pratt <span dir="ltr" class="">&lt;<a href="mailto:jprattx@gmail.com" target="_blank" class="">jprattx@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">XCode is not just one of many editors to edit Swift you asshole.</div></div></blockquote></div></div></div></blockquote><div><br class=""></div>John, this sort of personal attack is not acceptable behavior in the Swift community, and sending it privately does not alter that. &nbsp;If you would like to continue participating in this community, please learn to treat your fellow contributors with respect.</div><div><br class=""></div><div>I don't think this thread is entirely off-topic. &nbsp;While Swift as a language is committed to allowing code to be edited in a simple text editor, we also recognize the importance of graphical programming environments, and we are certainly open to adding features that primarily benefit them — as we did with color and resource literals. &nbsp;Of course, it would necessary to show that the language feature was both necessary and likely to see significant editor adoption. &nbsp;At least some of these ideas, like rendering a power operator with a superscript, do seem like they could implemented in an editor without any language support.</div><div><br class=""></div><div>John.</div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class="h5"><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Aug 31, 2017, at 11:27 AM, Taylor Swift &lt;<a href="mailto:kelvin13ma@gmail.com" target="_blank" class="">kelvin13ma@gmail.com</a>&gt; wrote:</div><br class="m_-1782199036737315374Apple-interchange-newline"><div class=""><div dir="ltr" class="">If you ask me this thread is off topic and belongs on an Apple issue tracker or forum. XCode is just one of many editors used to edit Swift code, and it should by no means be used as a baseline for language design considering it is closed source and only available on one platform, compared to a large number of great open source editors.<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Aug 31, 2017 at 7:53 AM, Jonathan Hull via swift-evolution <span dir="ltr" class="">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">A few thoughts:<div class=""><br class=""></div><div class="">1) I would like to see Xcode gain a couple more literal types using the same strategy it does for Image and Color literals</div><div class=""><br class=""></div><div class="">2) I would LOVE to see simple equation typesetting in Xcode</div><div class=""><br class=""></div><div class="">(Those two are mostly up to the Xcode team as opposed to swift, I suppose)</div><div class=""><br class=""></div><div class="">3) Why are we pretending like we can always edit swift in a ASCII editor?&nbsp; The argument that actually using unicode would break things doesn’t seem valid, because Swift has supported unicode since version 1, and people have been using it since that time to name both variables and operators. That doesn’t mean we need a super fancy editor, but I think requiring unicode awareness is completely reasonable.&nbsp; If your editor from the 1970’s breaks something, it is both your and your editor’s fault, not the code or the library, because Swift has unicode in it’s spec.</div><div class=""><br class=""></div><div class="">4) I don’t think we should let the difficulty of typing certain things stop us.&nbsp; It is an issue we need to consider, but it is an issue which can be solved fairly easily with good UI design if there is a need. Sure, different editors might solve it in different ways, but they will all solve it if it is useful (and in a few years, we will have all settled on the best approach).&nbsp; As people have mentioned, it can be difficult to type ‘{‘ on certain language layouts, so if we limited ourselves by that we couldn’t do anything.&nbsp; We shouldn’t adopt a lowest common denominator approach.</div><div class=""><br class=""></div><div class="">5) The lack of ‘≤’ has driven me absolutely nuts since Swift 1. It <b class="">won’t</b> be confusing if we let people do either ‘&lt;=‘ or ‘≤’ (there is research by Apple in the late 80’s that proves this).&nbsp; We all learned the symbol in math class. Even non-programmers know what it means.&nbsp; Assigning it any other meaning would be confusing because it’s meaning is so widely known.&nbsp; Every time I bring this up, I am told to just roll my own (which I have)… but it means that my code will now clash with everyone else’s identical implementation (because there is only one sane way to implement it).&nbsp; The fact that there are multiple identical implementations interfering with each other (and no real way to make a significantly different implementation) tells me it really should be part of swift itself. Every time I bring it up, people complain about it being extended ASCII instead of pure ASCII, and that it is hard to type on a German keyboard (those people can either just type ‘&lt;=‘ or use a better editor which autocompletes ‘&lt;=‘ to ‘≤’).</div><div class=""><br class=""></div><div class="">6) My recommendations for typing symbols would be:</div><div class=""><span class="m_-1782199036737315374m_-7968505672863582989Apple-tab-span" style="white-space:pre-wrap">        </span>a) Choose a subset of useful and well-known symbols instead of every symbol</div><div class=""><span class="m_-1782199036737315374m_-7968505672863582989Apple-tab-span" style="white-space:pre-wrap">        </span>b) Allow autocomplete on those symbols by name</div><div class=""><span class="m_-1782199036737315374m_-7968505672863582989Apple-tab-span" style="white-space:pre-wrap">        </span>c) Optionally choose a little-used guardian character to start the names of symbols (to avoid accidental autocompletion).&nbsp;</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Jon</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><span class=""><div class="">On Aug 28, 2017, at 7:57 PM, John Pratt via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="m_-1782199036737315374m_-7968505672863582989Apple-interchange-newline"></span><div class=""><div class=""><div class="m_-1782199036737315374h5"><div style="word-wrap:break-word" class="">I sent a postal envelope to the Swift team with an article I wrote, arguing that<div class="">symbols and graphics would push the programming language forward.</div><div class=""><br class=""></div><div class="">Wouldn’t it be nice to have an actual multiplication matrix broken out into code,</div><div class="">instead of typing, “matrix()”?&nbsp; It seems to me Swift has the chance to do that.</div><div class=""><br class=""></div><div class="">Also: why does "&lt;==" still reside in code as "less than or equal to” when</div><div class="">there is a unicode equivalent that looks neat? &nbsp;</div><div class=""><br class=""></div><div class="">Why can’t the square of x have a superscript of 2 instead of having “pow(x,2)? &nbsp;</div><div class="">I think this would make programming much easier to deal with.</div><div class=""><br class=""></div><div class="">I expound on this issue in my article:</div><div class=""><br class=""></div><div class=""><a href="http://www.noctivagous.com/nct_graphics_symbols_prglngs_draft2-3-12.pdf" target="_blank" class="">http://www.noctivagous.com/nct<wbr class="">_graphics_symbols_prglngs_draf<wbr class="">t2-3-12.pdf</a></div><div class=""><br class=""></div><div class="">Thank you for reading.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">-John</div></div></div></div><span class="">______________________________<wbr class="">_________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank" class="">https://lists.swift.org/mailma<wbr class="">n/listinfo/swift-evolution</a><br class=""></span></div></blockquote></div><br class=""></div></div><br class="">______________________________<wbr class="">_________________<br class="">
swift-evolution mailing list<br class="">
<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank" class="">https://lists.swift.org/mailma<wbr class="">n/listinfo/swift-evolution</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>