<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div><br></div><div>Am 06.02.2016 um 19:27 schrieb Tino Heth via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>>:<br><br></div><blockquote type="cite"><div><span>It's a very long (and complicated) thread, so I guess the following thought isn't new:</span><br><span></span><br><blockquote type="cite"><span> a.move(from: b, to: c)</span><br></blockquote><span>In cases like this, where there are nouns that describe the parameters as good as "from" and "to", so I would call the method</span><br><span></span><br><span>a.moveFile(source: b, destination: c)</span><br><span></span><br><span>("File" is just a placeholder; I think move is to ambiguous)</span><br><span></span><br><span>The advantage of nouns is that they are well suited as variable names as well; the ability to have separate internal and external names is rather exotic, so I think it looks less strange to somebody without an Objective-C/Swift background.</span><br></div></blockquote><div><br></div>That feature is something I like very much in Swift and being able to name the method<div><br></div><div><div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">a.moveFile(source: b, to destination: c)</span></font></div><div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></font></div><div>is a great thing as it makes the call site read much better.</div><div><br></div><div>Not using a great feature of a language just because somebody might not be used to it because other languages domnot have this feature would make me sad.</div><div><br></div><div>-Thorsten </div><blockquote type="cite"><div><span></span></div></blockquote></div></body></html>