<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 18, 2017, at 11:36 AM, Taylor Swift &lt;<a href="mailto:kelvin13ma@gmail.com" class="">kelvin13ma@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="overflow-wrap: break-word;" class=""><div class="">&gt; fix the ordering of the arguments in initializeMemory&lt;Element&gt;(as:<wbr class="">at:count:to:)</div><div class=""><br class=""></div><div class="">I think this ordering was an attempt to avoid confusion with binding</div><div class="">memory where `to` refers to a type. However, it should be consistent</div><div class="">with `UnsafePointer.initialize`, so we need to pick one of those to</div><div class="">change.</div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">This would be a non-issue had we just been consistent with the rest of the stdlib and named this argument `<span style="font-family: monospace, monospace;" class="">repeating:</span>` instead of `<span style="font-family: monospace, monospace;" class="">to:</span>`. But `<span style="font-family: monospace, monospace;" class="">ptr.initialize(repeating: 255, count: 100)</span>` doesn’t read quite as naturally in English as `<span style="font-family: monospace, monospace;" class="">ptr.initialize(to: 255, count: 100)</span>` which is why I left this idea out of the proposal. Now that you mention the problem with `<span style="font-family: monospace, monospace;" class="">initializeMemory&lt;Element&gt;(as:</span><wbr class=""><span style="font-family: monospace, monospace;" class="">at:count:to:)</span>`, it might be a good idea to add this rename back into it.</div></div></blockquote></div><br class=""><div class="">I think `repeating` is much more clear.</div><div class=""><br class=""></div><div class="">-Andy</div></body></html>