<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="">I’ve found that good external parameter names are typically just prepositions. <div class=""><br class=""></div><div class="">Sometimes the noun that comes after the prepositions doesn’t benefit from a real name. I’ve been naming those _$0 to minimize cognitive load. (I don’t think about the name when writing, and when reading, I know that the name would be useless to commit to my short-term memory.)<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">func</span> move<Point>(to _$0: <span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">Point</span>) {</div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span>// argument is accessible as _$0</div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class="">}</div></div></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-family: Helvetica; font-size: 12px;" class="">Currently, this also compiles:</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-family: Helvetica; font-size: 12px;" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal;" class=""><div style="font-family: Menlo; font-size: 14px; margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">func</span> move<Point>(to <span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">_</span>: <span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">Point</span>) {</div><div style="font-family: Menlo; font-size: 14px; margin: 0px; line-height: normal; color: rgb(0, 132, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span>// argument is inaccessible</div><div style="font-family: Menlo; font-size: 14px; margin: 0px; line-height: normal;" class="">}</div><div style="font-family: Menlo; font-size: 14px; margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Is that useless? I think it’s useless but I might be missing something.</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">I propose that, when external parameter names are used, but internal ones use underscores, the arguments are accessible as $0, $1, etc. (I use $0 a lot, and $1 a little, but have not yet needed $2, personally.)</div></div></body></html>