[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [patch] Use hash for optional args with long argument list in Ruby bindings

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-11-17 15:09:08 CET

Hi,

In <ae6cb1100711162223v12831844v8da6168fbd8ea354@mail.gmail.com>
  "Re: [patch] Use hash for optional args with long argument list in Ruby bindings" on Fri, 16 Nov 2007 22:23:53 -0800,
  "Joe Swatosh" <joe.swatosh@gmail.com> wrote:

> BTW as I was changing switch_editor2 to be similar, I remembered that I
> hadn't asked yet: What is the reason for using the Hash for all arguments,
> instead of just the optional arguments?

This is for consistency. Users who uses only required
arguments should use XXX API instead of XXX2 API.

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 17 15:09:28 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.