<div dir="ltr">+1, mainly because if someone uses on-demand completion (like me) thinking it&#39;s called &quot;nullTerminated&quot;, typing &quot;null&quot; will not complete if the method name is &quot;nulTerminated&quot;<div><br></div><div>++md</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 24, 2016 at 12:22 PM, Chris Lattner via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Fair enough.  I’m personally fine with “nullTerminatedUTF8” - I’m saying that “nullCharacterTerminatedUTF8” would be unhelpful.<div><br></div><div>-Chris</div><div><div class="h5"><div><br><div><blockquote type="cite"><div>On Jul 24, 2016, at 12:00 AM, Félix Cloutier &lt;<a href="mailto:felixcca@yahoo.ca" target="_blank">felixcca@yahoo.ca</a>&gt; wrote:</div><br><div><div style="word-wrap:break-word">So I can see in hindsight that perhaps people meant &quot;NUL-terminated string&quot; the whole time, but &quot;NUL-terminated string&quot; has 19,700 results on Google, whereas &quot;null-terminated string&quot; has 192,000.<div><br></div><div>I have a funny anecdote to share. I got <a href="https://xkcd.com/386/" target="_blank">really upset on reddit one day</a> that someone said that some trojan was a &quot;virus&quot;. That&#39;s not right! Trojans are not viruses! And then someone came along and asked, &quot;what type of software would you use to remove a trojan?&quot; And the answer to that, of course, is an anti-virus.</div><div><br></div><div>I can come up with a number of other instances where people use technically incorrect names that are just so powerfully ingrained that it&#39;s not even worth it to fight back. Like JPEG vs JFIF.</div><div><br></div><div>Point being, while I have lots of respect for standards, if what you want is consensus, siding with the 90% is a better idea.<br><div>
<br><span style="font-family:&#39;Lucida Grande&#39;;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Félix</span>
</div>
<br><div><blockquote type="cite"><div>Le 23 juil. 2016 à 15:21:48, Andrew Trick via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; a écrit :</div><br><div><blockquote type="cite" style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>On Jul 23, 2016, at 3:16 PM, Chris Lattner &lt;<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>&gt; wrote:<br><br><br><blockquote type="cite">On Jul 23, 2016, at 2:38 PM, Andrew Trick via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br><br><blockquote type="cite"><br>On Jul 23, 2016, at 2:06 PM, Xiaodi Wu via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br><br>On Sat, Jul 23, 2016 at 3:54 PM, Daniel Duan &lt;<a href="mailto:daniel@duan.org" target="_blank">daniel@duan.org</a>&gt; wrote:<br>In the context of character sets, &quot;nul&quot; is the correct name for the 0 value. &quot;null&quot; only makes sense when we are talking about pointer-like references.<br><br>Oh, I see: &quot;NUL-terminated&quot; is a thing because &quot;NUL&quot; is the ASCII name. Still a little bizarre looking, though, especially if it&#39;s UTF8 rather than ASCII. I am less bothered by it now, thanks :)<br></blockquote><br>Yeah. Using the ASCII abbreviation was intentional but after thinking about it for a second I still think it should be renamed. Swift methods are supposed to be spelled out in english. There’s no reason to use an abbreviation here.<br></blockquote><br>“NUL” is an abbreviation for “Null Character”.  You think that it is a good idea to spell out its full two-word name?<br><a href="https://en.wikipedia.org/wiki/Null_character" target="_blank">https://en.wikipedia.org/wiki/Null_character</a><br></blockquote><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I’ll take the troll bait. “nulTerminatedUTF8&quot; should read “nullTerminatedUTF8” because</span><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">1. null-terminated is a common english phrase</span><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">2. the acronym is not recognizable lowercase and in the context of the above phrase</span><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Andy</span><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">swift-evolution mailing list</span><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:swift-evolution@swift.org" style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">swift-evolution@swift.org</a><br style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" style="font-family:Menlo-Regular;font-size:10px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></div></blockquote></div><br></div></div></div></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>