I would print it out and staple a $20 to the back of it and drop it his way with a wink.<br><br>...on a more serious note I like this naming suggestion. +1 from me<br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 1, 2016 at 9:00 AM Erica Sadun via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>The best way to pass the Dave Test is to ask him directly, for example:</div><div><br></div><div><i>Dave:</i></div><div><i><br></i></div><div><i>Do you think the stdlib team would be okay with a naming scheme like </i></div><div><i><b><font face="Menlo">Syntax.Literal.ArrayProtocol</font></b>, <b><font face="Menlo">Syntax.Literal.IntegerProtocol</font></b>, etc. We think </i></div><div><i>this </i><i>produces a clear description of the conformant role and one that is unlikely to be </i></div><div><i>misinterpreted. It may read less fluently but it's also less subject to confusing users. </i></div><div><i><br></i></div><div><i>This naming scheme uses the <font face="Menlo">Syntax</font> namespacing, and creates a <font face="Menlo">Literal</font> subspace. </i></div><div><i>Each protocol is named as "XXXXProtocol". This introduction a distinction between </i></div><div><i>"This is/can be used as an integer literal" and "Conforming to this protocol ensures</i></div><div><i>that a<span style="font-family:Palatino-Roman">n instance of the type can be written </span></i><i style="font-family:Palatino-Roman">as an integer literal". </i></div><div><span style="font-family:Palatino-Roman"><i><br></i></span></div><div><span style="font-family:Palatino-Roman"><i>The problem with earlier approximations was that people saw "Syntax.IntegerLiteralXXX" </i></span></div><div><span style="font-family:Palatino-Roman"><i>and thought the typed could be substituted into expressions where an integer literal</i></span></div><div><font face="Palatino-Roman"><i>was used, and not that an integer literal could be be used to write an instance of </i></font></div><div><font face="Palatino-Roman"><i>the type.</i></font></div><div><font face="Palatino-Roman"><i><br></i></font></div><div><font face="Palatino-Roman"><i>So what do (and your team) think of this idea?</i></font></div><div><i><br></i></div><div><i>-- Adrian (and Erica)</i></div></div><div style="word-wrap:break-word"><div><br></div><br><div><blockquote type="cite"><div>On Jul 1, 2016, at 2:08 AM, Adrian Zubarev via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:</div><br><div><div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)"><p style="margin:15px 0px">We haven’t pass the dave test yet? :D<span> </span></p><p style="margin:15px 0px">Still curious what he’d say about<span> </span><code style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace;font-size:10pt;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:rgb(248,248,248);color:inherit;border:1px solid rgb(234,234,234);margin:0px 2px;padding:0px 5px;word-break:normal;word-wrap:normal">Syntax.Literal.*Protocol</code></p><p style="margin:15px 0px">One more question:</p><ul style="margin:15px 0px"><li style="margin:15px 0px">What can the namespace<span> </span><code style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace;font-size:10pt;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:rgb(248,248,248);color:inherit;border:1px solid rgb(234,234,234);margin:0px 2px;padding:0px 5px;word-break:normal;word-wrap:normal">Syntax</code><span> </span>could be used for except for literals, any idea? (I have no clue.)</li></ul></div></div></blockquote></div><br></div>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">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>
</blockquote></div>